Re: Partition mounting under RHEL4



e2label PARTITION

simply returns the label for the partition.

e2label PARTITION NEWLABEL

replaces the label on the partition. It does not change any of the data on the partition.

Alfred


Bruce W. Martin wrote:
I will not be able to check until next week but I think this may be enough hints to fix this.
I will report back when I get more information and answers to your questions.
BTW, when using e2label to create a label is it destructive to the partition? I don't want to lose data on these partitions.

Thanks,
Bruce

On Mar 30, 2006, at 9:57 AM, Alfred Hovdestad wrote:

What does 'fdisk -l /dev/sda' return? How about for sdb and sdc? Did you create partitions (/dev/sda1, /dev/sdb1, /dev/sdc1)?

If you did create partitions, what does 'e2label /dev/sda1' return? If not, how about 'e2label /dev/sda'?

Alfred Hovdestad, RHCE
University of Saskatchewan


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • use of label in fstab
    ... I used e2label to label a partition on a sata disk /dev/sda1 with the label ... ublinux edited fstab to contain: ...
    (Ubuntu)
  • Re: Partition mounting under RHEL4
    ... a dumb error on my part. ... and also ran e2label on each partition and each one came back with the expected label. ... It would appear that the problem is when during the boot process the system checks to see if each partition needs to have fsck run. ...
    (RedHat)
  • Re: use of label in fstab
    ... label ublinux edited fstab to contain: ... I made another partition /dev/sda5 and used e2label to label it dyndata, ...
    (Ubuntu)
  • Re: Linux-image-2.6.25 wont boot - target filesystem error -SOLVED
    ... I labeled my root partition "root" and this is ... I hadn't read the e2label line properly. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: I used "boot0cfg" and destroyed the MBR.All labels dissapear! (How I Fixed it)
    ... then you have to repeat the disklabel step ... f) I edited the partition table using fdisk. ... Thus I have created a big slice ad0s1. ... On the b label put in the offset the sectors size of the previous (a ...
    (freebsd-questions)