[Gllug] Yet more problems with an external disk drive
Daniel P. Berrange
dan at berrange.com
Sun Apr 20 20:36:42 UTC 2008
On Sun, Apr 20, 2008 at 09:33:12PM +0100, Richard Jones wrote:
> On Sun, Apr 20, 2008 at 03:48:20PM +0100, John G Walker wrote:
> > I use fstab to define the permissions on an external drive, in order to
> > be able to use the drive to store backups.
> >
> > In the past, the drive has been identified as both device sdb1 and sdf1
> > (though not, of course, simultaneously), and so I've provided entries
> > in fstab for both these, and it's worked so far. Well at least until
> > yesterday.
>
> Is the drive ext2/3 formatted? If so you should be able to label it
> while it is mounted ('e2label /dev/sdd1 backup') then use the label in
> the fstab:
>
> LABEL=backup /mnt/backup ext3 defaults 1 2
>
> According to the fstab manpage XFS also supports these sorts of
> labels, but AFAIK not things like FAT.
Actaully FAT can do labels - the '-n volume-name' flag to mkdosfs, or
the 'dosfslabel /dev/blah volume-name' command to change an existing
filesystem
Regards,
Dan.
--
|: http://berrange.com/ -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://freshmeat.net/~danielpb/ -o- http://gtk-vnc.sourceforge.net :|
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list