[lkml]   [2001]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: (struct dentry *)->vfsmnt;
    AIX stores all of this information in the LVM, not in the filesystem. 
    The filesystem itself has nothing to do with importing and exporting
    volume groups. Having the information stored as part of LVM's metadata
    allows the utilities to only deal with LVM instead of every individual
    file system.

    Andreas Dilger wrote:
    > Al writes:
    > > On Tue, 13 Mar 2001, Andreas Dilger wrote:
    > >
    > > > On AIX, it is possible to import a volume group, and it automatically
    > > > builds /etc/fstab entries from information stored in the fs. Having the
    > > > "last mounted on" would have the mount point info, and of course LVM
    > > > would hold the device names.
    > >
    > > Wait a minute. What happens if you bring /home from one box to another,
    > > that already has /home? Corrupted /etc/fstab?

    > For the same reason that the UUID and LABEL are stored in the superblock:
    > you want this infomation kept with the filesystem and not anywhere else,
    > otherwise it will quickly get out-of-date. Wherever you mounted the
    > filesystem last is where it would be mounted if you import the VG on
    > another system. You can obviously edit /etc/fstab afterwards if it is
    > wrong, and then remount the filesystem(s), and this will store the
    > correct mountpoint into the filesystem for the next vgimport.

    David J. Kleikamp
    IBM Linux Technology Center
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:29    [W:0.021 / U:14.828 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site