slave drive mounting where?
Lennart Sorensen
lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Thu Nov 22 16:16:31 UTC 2007
On Wed, Nov 21, 2007 at 07:44:55PM -0500, Chris Aitken wrote:
> [root at p733 chris]# mount /dev/sdb1 /bckupdrv
> [root at p733 chris]# df /dev/sdb1
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/sdb1 9614116 168624 8957120 2% /bckupdrv
>
> Oh, now that's better...
>
> So, I guess the partition is there on the slave drive - it just needs a
> mount command so that it will mount /bckupdrv (?)
>
> So, I just manually add the line to /etc/fstab?
>
> I guess what I've been calling the "gui partitioner" did make the
> partition, but it did not mount /bckupdrv, but since /bckupdrv exists as
> a directory (under /) when I save .ogg's to it they are just saving to
> /dev/sda. Hence, my primary hard drive filling up.
So you could do:
mount /dev/sdb1 /mnt
mv /backupdrv/* /mnt/
umount /mnt
echo "/dev/sdb1 /backupdrv ext3 defaults 0 1" >> /etc/fstab
mount -a
That should mount the drive temporarily as /mnt, move the files that
should have gone to it, onto it, then unmount it, then append a line to
/etc/fstab for the drive, then mount all filesystems listed in fstab.
This of course assuming you used ext3 as your filesystem, otherwise
substitute whatever you used. Not that I can think of a better choice
of filesystem than ext3 at this time.
--
Len Sorensen
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list