Allie Daneman wrote:
I can't figure out how to mount my 2nd SATA drive...my primary disk is mounted by uuid in my current fstab but disk 2 doesn't seem like it's being found correctly. Can anyone help out...how do I figure out the uuid of my 2nd drive ?
[root@crusty etc]# ls -la /dev/disk/by-id/ total 0 drwxr-xr-x 2 root root 0 Jun 28 09:49 . drwxr-xr-x 5 root root 0 Jun 28 09:49 .. lrwxrwxrwx 1 root root 9 Jun 28 09:49 ata-WDC_WD1600AAJS-75PSA0_WD-WMAP98331746 -> ../../sda lrwxrwxrwx 1 root root 10 Jun 28 09:49 ata-WDC_WD1600AAJS-75PSA0_WD-WMAP98331746-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Jun 28 09:49 ata-WDC_WD1600AAJS-75PSA0_WD-WMAP98331746-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Jun 28 09:49 ata-WDC_WD1600AAJS-75PSA0_WD-WMAP98331746-part3 -> ../../sda3 lrwxrwxrwx 1 root root 10 Jun 28 09:49 ata-WDC_WD1600AAJS-75PSA0_WD-WMAP98331746-part4 -> ../../sda4 lrwxrwxrwx 1 root root 9 Jun 28 09:49 ata-WDC_WD1600AVJS-63SWA0_WD-WCAP9C579547 -> ../../sdb lrwxrwxrwx 1 root root 9 Jun 28 09:49 scsi-SATA_WDC_WD1600AAJS-_WD-WMAP98331746 -> ../../sda lrwxrwxrwx 1 root root 10 Jun 28 09:49 scsi-SATA_WDC_WD1600AAJS-_WD-WMAP98331746-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Jun 28 09:49 scsi-SATA_WDC_WD1600AAJS-_WD-WMAP98331746-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Jun 28 09:49 scsi-SATA_WDC_WD1600AAJS-_WD-WMAP98331746-part3 -> ../../sda3 lrwxrwxrwx 1 root root 10 Jun 28 09:49 scsi-SATA_WDC_WD1600AAJS-_WD-WMAP98331746-part4 -> ../../sda4 lrwxrwxrwx 1 root root 9 Jun 28 09:49 scsi-SATA_WDC_WD1600AVJS-_WD-WCAP9C579547 -> ../../sdb
[root@crusty ls -la /dev/disk/by-path/ total 0 drwxr-xr-x 2 root root 0 Jun 28 09:49 . drwxr-xr-x 5 root root 0 Jun 28 09:49 .. lrwxrwxrwx 1 root root 9 Jun 28 09:49 pci-0000:00:1f.1-scsi-1:0:0:0 -> ../../sr0 lrwxrwxrwx 1 root root 9 Jun 28 09:49 pci-0000:00:1f.2-scsi-0:0:0:0 -> ../../sda lrwxrwxrwx 1 root root 10 Jun 28 09:49 pci-0000:00:1f.2-scsi-0:0:0:0-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Jun 28 09:49 pci-0000:00:1f.2-scsi-0:0:0:0-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Jun 28 09:49 pci-0000:00:1f.2-scsi-0:0:0:0-part3 -> ../../sda3 lrwxrwxrwx 1 root root 10 Jun 28 09:49 pci-0000:00:1f.2-scsi-0:0:0:0-part4 -> ../../sda4 lrwxrwxrwx 1 root root 9 Jun 28 09:49 pci-0000:00:1f.2-scsi-1:0:0:0 -> ../../sdb
[root@crusty etc]# ls -la /dev/disk/by-uuid/ total 0 drwxr-xr-x 2 root root 0 Jun 28 09:49 . drwxr-xr-x 5 root root 0 Jun 28 09:49 .. lrwxrwxrwx 1 root root 10 Jun 28 09:49 24898ead-1493-4544-a69b-9aa873df4eb8 -> ../../sda4 lrwxrwxrwx 1 root root 10 Jun 28 09:49 944d5302-9d85-422a-8aab-dd38606ee224 -> ../../sda2 lrwxrwxrwx 1 root root 10 Jun 28 09:49 b0746ca3-76e3-4428-9898-74d46f638722 -> ../../sda1 lrwxrwxrwx 1 root root 10 Jun 28 09:49 d71891a3-aff1-4696-9c43-8ada3f0d4c00 -> ../../sda3
Your second disk doesn't have any partitions. Although you can create a filesystem on a whole disk without partitioning, it may be favourable to partition your drive. Use cfdisk to partition your drive. It's registered as sdb. Glenn