Re: use of label in fstab
- From: Derek Broughton <news@xxxxxxxxxxxxxx>
- Date: Mon, 11 Sep 2006 10:10:47 -0300
Paul Hide wrote:
I used e2label to label a partition on a sata disk /dev/sda1 with the
label ublinux edited fstab to contain:
label=ublinux / ext3 defaults,errors=remount-ro 0 1
and this booted correctly.
I made another partition /dev/sda5 and used e2label to label it dyndata,
formatted it, made the directory /dydtest and then added another line to
fstab:
label=ublinux / ext3 defaults,errors=remount-ro 0 1
label=dyndata /dyntest ext3 defaults,errors=remount-ro 0 1
On bootup now, the first partition mounts correctly, but the second gives
the following error message from fsck.ext3: Unable to resolve
'label=dyndata'.
Does anyone have any thoughts.
On 9/11/06, Paul Hide <paul.hide@xxxxxxxxx> wrote:
Hi Derek - I don't think I should be replying direct to you,
I'll take that as implicit permission, then, to redirect this back to the
list :-)
but rather to
the mailing list, so that the sequence of mails is properly
threaded/indented, but, I don't know how to do that. I got your reply
via a digest, does that make it impossible?
That might make it impossible to properly thread (though I suspect if you
set your digest option to "mime", it will be just like replying to a normal
email), but replying to the list from a text digest is as easy as replying
to me. Just reply to the list address and be sure to trim! Another option
is to use a newsreader. I get the list via
nntp://news.gmane.org/gmane.linux.ubuntu.user (I hope I have the URL
right).
The partition is mountable. After the error I give root's password and do
the following:
~# mount -L dyndata /dyntest
Following this:
~# mount
shows /dev/sda5 on /dyntest
Then I think I see your problem. In fstab:
label=dyndata /dyntest ext3 defaults,errors=remount-ro 0 1
That last digit should be 2. ONLY your root partition should be mounted in
pass 1. I don't generally mount by label & I don't use ext filesystems, so
I can't be certain, but if it mounts fine after boot time, but not _during_
boot, I think that has to be the problem.
Paul Hide
I had brief hopes that you were the leader of the fabulous (and much missed)
Payola$, but you spell your name wrong :-)
--
derek
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- References:
- use of label in fstab
- From: Paul Hide
- use of label in fstab
- Prev by Date: Re: howmany partitions per disk possible?
- Next by Date: Re: file permissions
- Previous by thread: Re: use of label in fstab
- Next by thread: Re: use of label in fstab
- Index(es):
Relevant Pages
|