xfs
[Top] [All Lists]

Re: Problems with XFS 1.0.2a anaconda

To: Ajay Ramaswamy <ajayr@xxxxxxxxxxxx>
Subject: Re: Problems with XFS 1.0.2a anaconda
From: Nathan Scott <nathans@xxxxxxx>
Date: Mon, 3 Dec 2001 09:04:05 +1100
Cc: mkp@xxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.33.0112021917250.7502-100000@xxxxxxxxxxxx>; from ajayr@xxxxxxxxxxxx on Sun, Dec 02, 2001 at 07:49:54PM +0530
References: <Pine.LNX.4.33.0112011848230.22711-100000@xxxxxxxxxxxxxxxxxxxxxxxx> <Pine.LNX.4.33.0112021917250.7502-100000@xxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Sun, Dec 02, 2001 at 07:49:54PM +0530, Ajay Ramaswamy wrote:
> Hello,
> I have just stated playing around with the installer and making some 
> modifications to it when I noticed some problems
> ...

[I'll leave the other questions to Eric/Martin as they know much more
about the Redhat installer than I do.]

> 4. When I use the XFS 1.0.2 cd in rescue mode it complains that it cannot 
> find the filesystems that are specified by LABEL= tags in fstab.

Do you know what complains?  Is it mount?  fsck?  or something else?
The code to support XFS labels has been in mount for a long time, so
I would not expect it to be the problem.  fsck was only updated more
recently (2/3 months ago) so this might be the problem (might need a
newer version of e2fsprogs on the rescue CD?).

> I see that the label is assigned by
> 
> +    def labelDevice(self, entry, chroot):
> +        devicePath = entry.device.setupDevice(chroot)
> +        label = labelFactory.createLabel(entry.mountpoint, 
> self.maxLabelChars)
> +        db_cmd = "label " + label
> +        rc = iutil.execWithRedirect("/usr/sbin/xfs_db",
> +                                    ["xfs_db", "-x", "-c", db_cmd, 
> devicePath],+                                    stdout = "/dev/tty5",
> +                                    stderr = "/dev/tty5")
> +        if rc:
> +            raise SystemError
> +        entry.setLabel(label)
> +
> 
> in dispatch.py, but when I do man xfs_db I cannot find any way to set the 
> label with command label.
> 

I'll add something to the man page today.

thanks.

-- 
Nathan


<Prev in Thread] Current Thread [Next in Thread>