[GRLUG] fstab query

Eric Beversluis ebever at researchintegration.org
Tue Nov 12 15:08:47 EST 2013


I'll check that out. Thanks.

On Tue, 2013-11-12 at 14:52 -0500, Mark Farver wrote:
> I would verify it works with the dev entry, if it does you can start
> figuring out why it won't work by UUID.
> 
> This may be helpful, it seems to imply you need the usb driver in the
> initrd image.
> 
> http://nigglingaspirations.blogspot.com/2010/07/usb-drive-fstab-uuid-arch-linux.html
> 
> Maybe mounting by UUID is only done once before the pivot root.
> 
> Mark Farver
> 
> On Tue, Nov 12, 2013 at 2:43 PM, Eric Beversluis
> <ebever at researchintegration.org> wrote:
> > I suspect it would work using /dev/sdc2. The reason I wanted to use the
> > UUID was in case it got moved to a different USB port or something else
> > caused it to be something other than 'sdc'. We'll be running a cron job
> > to back up to that drive and don't want a problem in case at some point
> > it becomes /dev/sdd2. Is that something we need to worry about?
> >
> > On Tue, 2013-11-12 at 14:24 -0500, Mark Farver wrote:
> >> Try putting the /dev/sdc2 entry into fstab instead of the UID.  Make
> >> sure you can then mount and unmount the drive by typing "mount
> >> /mnt/ioSafe"  If that works then you can reboot.
> >>
> >> Mark
> >>
> >> On Tue, Nov 12, 2013 at 12:57 PM, Eric Beversluis
> >> <ebever at researchintegration.org> wrote:
> >> > We are trying to insert a line into fstab on a ClearOS (based on CentOS)
> >> > server to mount an ioSafe on reboot. Something doesn't seem to be
> >> > working right. The first time we rebooted after inserting the line (see
> >> > below) into fstab, it crashed. We removed the line from fstab and
> >> > manually mounted the ioSafe. Another time we tried again; this time it
> >> > seemed to boot ok but the ioSafe did not mount.
> >> >
> >> > Are we going about this right?
> >> > We formated the ioSafe this way (retaining the GPT partition table):
> >> > Num Start  End    Size   File sys Name                         Flags
> >> > 1   17.4kB 134MB  134MB           Microsoft reserved partition msftres
> >> > 2   135MB  4001GB 4001GB ext4     Basic data partition
> >> >
> >> > (Research seemed to suggest it best to leave the MS reserved partition.)
> >> >
> >> > The fstab line we entered was this:
> >> > UUID=dd06173e-9fb2-47f8-8841-5ed96e4d4ee4 /mnt/ioSafe ext4
> >> > defaults,nofail 0 0
> >> >
> >> > (The first time we set the <pass> value to 2.)
> >> >
> >> > It has been suggested that the reason this fstab entry doesn't work is
> >> > that the first partition does not have the ext4 file system.
> >> >
> >> > --Does any know, is that really the case--that it won't mount partition
> >> > 2 (using the UUID of partition 2) because partition one is a different
> >> > file type? It mounts partition 2 fine manually from the 'mount' command
> >> > (using /dev/sdc2; I haven't tried using the UUID with mount) .
> >> >
> >> > --if so, can I just delete the first partition and leave blank space? I
> >> > would not want to re-format the whole drive, since we already have
> >> > backup data on it.
> >> >
> >> > Thanks.
> >> >
> >> > _______________________________________________
> >> > grlug mailing list
> >> > grlug at grlug.org
> >> > http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
> >> _______________________________________________
> >> grlug mailing list
> >> grlug at grlug.org
> >> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
> >
> >
> > _______________________________________________
> > grlug mailing list
> > grlug at grlug.org
> > http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
> _______________________________________________
> grlug mailing list
> grlug at grlug.org
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug




More information about the grlug mailing list