[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: mounted file systems



On Tue, Jul 30, 2002 at 03:26:14PM -0400, Steven Hill wrote:
> I forgot to mention that this is under RH7.3

   1. The correct file is /etc/fstab, not /etc/mtab.
      /etc/mtab tells you what is currently mounted.
   2. /etc/mtab can get corrupted. (In fact, you corrupted it!)
      Trust /proc/mounts.  
   3.  If /etc/fstab has LABEL=/var and LABEL=/home lines, like follows,
  	LABEL=/var   /var   ext3    defaults        1 2
        LABEL=/home  /home  ext3    defaults        1 2

       then you will need to change the filesystem labels on the
       disk partitions, e.g.,

            tune2fs -L /var /dev/hda3
            tune2fs -L /home /dev/hda6

       Alternatively, you could hardwire the disk partitions,
       but this is less flexible:

  	/dev/hda3   /var   ext3    defaults        1 2
        /dev/hda6   /home  ext3    defaults        1 2

Of course you are doing this as root all from a rescue disk or
single user mode ...

Regards,

    Bill Rugolsky





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]