Hi,
when I look at my /etc/fstab I see UUID entrys rather than the device entries
eg
UUID=3a63cf04-c345-458f-a250-2a5475f0ea95 / ext4 defaults 1 1
UUID=23df0961-1d77-460a-a751-a940f9857d61 /home ext4 defaults 1 2
whereas I would have expected device entries for the partitions - for example the likes of
/dev/sde1 / ext4 defaults 1 1
/dev/sde2 /home ext4 defaults 1 2
Q1. What are UIDs and why are they being used ?
Q2. Can I alternatively use /dev/sde* entries ?
I have just created another 270 Gb partition ( /dev/sde5 ) on the same disk as above and have created a file system on it. I am going to mount that partition as /nfs_share
I have tried manually mounting the file system using
mount /dev/sde5 on /nfs_share type ext4
mount –t ext4 /dev/sde5 /nfs_share
neither of these work. I get
mount: wrong fs type, bad option, bad superblock on /dev/sde5,
Q3. What is the correct mount command ( I am using Oracle Linux 6.5 ) ?
Q4. I was going to make an FSTAB entry. Normally I would make the entry for /dev/sde5. However as per Q1 and Q2, I am not sure if I should be making a UUID entry or an /dev/sde5 entry ?
Q5. Also when I made this partition I simply choose the default starting cylinder and just specified the size as 270 Gb. However when I use fdisk -l, I see the following
root@lab4#>fdisk -l
Disk /dev/sde: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000424dd
Device Boot Start End Blocks Id System
/dev/sde1 1 3917 31457280 83 Linux
/dev/sde2 * 3917 5222 10485760 83 Linux
/dev/sde3 5222 6006 6291456 82 Linux swap / Solaris
/dev/sde4 6006 60802 440151040 5 Extended
/dev/sde5 6006 41252 283121136+ 83 Linux
Partition 5 does not start on physical sector boundary.
Why does Partition 5 not start on a physical sector boundary and is there any way I could have avoided this ?
Any help greatly appreciated,
Jim