FIle System / Mounting Help For New Partition
I've been asked to attach a new 100 GB partition to our database server and then mount the newly created ext4 partition to /var/lib/pgsql/ directory and set it to auto-mount in /etc/fstab/
I've created a primary single partition /dev/xvdf: Code:
[root@db1 ~]# fdisk -l Code:
# 1. Why is it not /dev/xvdf1 in my fdisk -l read out? 2. How do I label this partition? Do I use e2label command and if so, what should the label be? |
Looks like there is no partition in that device. In fstab you have to specify the number of the partition in the device, like you see it for xvda1, xvda3.
Something doesn't looks right there why are your disks ID 0x00000000 the same? Did you remove part of the info from fdisk output? I don't see the part where it says what type the partitions are. Create the partition with fdisk and then, to format the partition as ext4 on xvdf, issue the following command as root: Code:
# mkfs.ext4 /dev/xvdf1 Code:
# e2label /dev/xvdf1 /label |
All times are GMT -5. The time now is 04:28 AM. |