Two HDs

Matthew J. Roth mroth at imminc.com
Thu May 2 13:01:26 UTC 2013


Bill Kuns wrote: 
> 
> Yes, fdisk seems to see both 1 TB drives: 
> 
> [root at FedC15 bkuns]# fdisk -l 
> 
> Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 
> 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors 
> Units = sectors of 1 * 512 = 512 bytes 
> Sector size (logical/physical): 512 bytes / 512 bytes 
> I/O size (minimum/optimal): 512 bytes / 512 bytes 
> Disk identifier: 0x0006673d 
> 
> Device Boot Start End Blocks Id System 
> /dev/sda1 * 2048 1026047 512000 83 Linux 
> /dev/sda2 1026048 1953523711 976248832 8e Linux LVM 
... 
> Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 
> 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors 
> Units = sectors of 1 * 512 = 512 bytes 
> Sector size (logical/physical): 512 bytes / 512 bytes 
> I/O size (minimum/optimal): 512 bytes / 512 bytes 
> Disk identifier: 0x44fdfe06


Bill,

It looks like Fedora is seeing both hard drives.  You should be able to create
a partition on the second drive by (only type the single letter after the
prompt, the words in parentheses are just comments):

  # fdisk /dev/sdb
  Command (m for help): o   (create a new empty DOS partition table)
  Command (m for help): n   (add a new partition)
  Command action
     e   extended
     p   primary partition (1-4)
  p
  Partition number (1-4): 1
  First cylinder (1-121601, default 1): 1
  Last cylinder, +cylinders or +size{K,M,G} (1-121601, default 121601): 121601
  
  Command (m for help): w   (write table to disk and exit)

Next, create an ext4 filesystem in the new partition and mount it:

  # mkfs.ext4 /dev/sdb1
  # mkdir /mnt/sdb1
  # mount /dev/sdb1 /mnt/sdb1

If all goes well, that should at least prove that the hard drive is ready for
Fedora to use.  Then you can use your favorite utilities to divide it up into
partitions, create filesystems in them, and add the related entries to
'/etc/fstab'.

Regards,

Matthew Roth
InterMedia Marketing Solutions
Software Engineer and Systems Developer





More information about the users mailing list