Re: Partition mounting under RHEL4



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



Bruce W. Martin wrote:
I am having a problem with a new install of Red Hat Enterprise Linux 4.
RHEL4 is required in this particular work instance.
This is a SuperMicro 1U server with the 2010S ZCR card option for the two main SCSI drives. I have a SCSI RAID container on one of the SCSI chanels and have a Fibre Channel Raid enclosure (EonStore) and an LSI FC919X Fibre Channel Card.

I have the following entries in my /etc/fstab:

#/dev/sda /raid/fc0 ext3 defaults,usrquota 1 2
#/dev/sdb /raid/fc1 ext3 defaults,usrquota 1 2
#/dev/sdc /raid/fc2 ext3 defaults,usrquota 1 2

#LABEL=FCraid0 /raid/fc0 ext3 defaults,usrquota 1 2
#LABEL=FCraid1 /raid/fc1 ext3 defaults,usrquota 1 2
#LABEL=FCraid2 /raid/fc2 ext3 defaults,usrquota 1 2


If I un-comment the /dev/sd* entries and try to mount the partitions I get an error about a bad superblock.
If I un-comment the /dev/sd* entries and restart the server I get an error about a bad superblock when it tries to mount the partitions.
If I un-comment the LABEL=FCraid* entries and try to mount the partitions they mount just fine but Apache does not seem to recognize directories on these mount points.
( Apache is a different problem altogether, I think, but I though it worth mentioning as a possible symptom of the problem.)
If I un-comment the LABEL=FCraid* entries and restart the server I get an error that it cannot find partitions with those labels.

Originally /dev/sdb and /dev/sdc were formatted as xfs when the labels were made. I reformatted them to ext3 when I found that Red Hat completely dropped xfs in RHEL4 but I did not change the label when I did the reformat.

These are 1.8TB partitions and about half full of data so I need to be very careful not to do anything that will damage the integrity of the data.

When using Red Hat 7.3 e LABEL=FCraid* entries in /etc/fstab work just fine.

Any suggestions on how I can get this to work?

Bruce





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



Relevant Pages

  • Partition mounting under RHEL4
    ... If I un-comment the /dev/sd* entries and restart the server I get an error about a bad superblock when it tries to mount the partitions. ... I reformatted them to ext3 when I found that Red Hat completely dropped xfs in RHEL4 but I did not change the label when I did the reformat. ...
    (RedHat)
  • Re: Partition mounting under RHEL4
    ... I don't want to lose data on these partitions. ... If I un-comment the /dev/sd* entries and try to mount the partitions I get an error about a bad superblock. ... If I un-comment the /dev/sd* entries and restart the server I get an error about a bad superblock when it tries to mount the partitions. ...
    (RedHat)
  • Re: SuSE under Boot Manager?, part II
    ... > the defined boot partitions is on the fourth hard drive in the system ... missing in an MBR. ... I've 'lost' entries when another system has written ...
    (comp.os.linux.setup)
  • Re: SuSE under Boot Manager?, part II
    ... > limited to the number of partitions you can fit in the first 1024 ... > I seem to remember that I had a scrollable Boot Manager menu at one ... boot to it several times when I suddenly lost sight of it in the BM ... there are 8 entries in the BM list here. ...
    (comp.os.linux.setup)
  • Re: System partition icons do not show up
    ... Other partitions on the drive do have their icons ... Disk utility also seems to unmount and mount them although ... "SetFile" tool which is part of the developer tools, ...
    (comp.sys.mac.system)