Daniel,

No, that sounds right, and sounds like something that needs to be put on
linuxvm.org.  I had had a discussion with someone else about the "label="
stuff in /etc/fstab, and I didn't know what to make of it then.  Now, it
appears to be a usability enhancement for us old mainframers.  But one that
can bite you if you don't understand it well, as happened to you.  The good
news is, your learning experience will help other people out, so it wasn't
all bad!

Thanks,

Mark Post

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 2:03 PM
To: [EMAIL PROTECTED]
Subject: Re: ext3 -> ext2


I had done mke2fs on /dev/dasdb1.  The thing that never occured to me
was the 1st field of fstab.  Instead of specifying the fs_spec for
dasdb1 by /dev/dasdXY, it was specified there by label.  For example, a
few lines from my fstab:

LABEL=/        /       ext2    defaults        1 1
LABEL=/home    /home   ext2    defaults        1 2
LABEL=/var     /var    ext2    defaults        1 2
/dev/dasde1    swap    swap    defaults        0 0

I guess LABEL=blah way is a quick way to know which filesystem you are
changing the mount options for, instead of looking at "df" output if you
want /usr auto mounted ro but don't know off the top of your head which
/dev/dasdXY it is.  Anyway, the LABEL= was how rhsetup did me after
formatting dasd partitions and specifying mount points etc.  Helpful, I
guess, but I didn't know where it got the label from or that it was
significant, and I was slow to realize that the label was the source of
my problems and not the changing ext3 to ext2 thing.  Newbieness strikes
again.

Or do I still not have it right?
~Daniel

[EMAIL PROTECTED] wrote:

>Daniel,
>
>That seems a little strange to me, considering I've _never_ specified a
>label parameter on any of my mke2fs commands.  I really think something
else
>didn't go right.  Perhaps you initially did a "mkde2fs /dev/dasdb" instead
>of "/dev/dasdb1" ??
>
>Mark Post
>
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>Sent: Monday, April 08, 2002 10:11 AM
>To: [EMAIL PROTECTED]
>Subject: Re: ext3 -> ext2
>
>
>I discovered my error... the problem wasn't with rebooting with the
>fstab full of ext2's... the problem was when I had run mke2fs on my
>/dev/dasdb1 I didn't add the home label -L /home.  Everything's great
>now, thanks!
>
>~ Daniel
>
>[EMAIL PROTECTED] wrote:
>
>
>>08.04.2002 15:50:48  NAPISAL(A):
>>
>>>switch all the ext3 to ext2 in /etc/fstab, did so, and rebooted.  Well,
>>>when it came time for the file system integrety check linux was most
>>>displeased.  From the console I manually retyped fstab, changing the
>>>
>>I think, first time linux checked filesystem and then all will be fine.
>>If linux will check filesystem in second boot, i was wrong :)
>>

Reply via email to