slave drive mounting where?
Chris Aitken
chris-n/jUll39koHNgV/OU4+dkA at public.gmane.org
Thu Nov 22 19:23:31 UTC 2007
Lennart Sorensen wrote:
> 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 /bckupdrv/* /mnt/
> umount /mnt
> echo "/dev/sdb1 /bckupdrv 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.
>
Everything worked just like you said it would. I checked /etc/fstab -
it's fine. Thanks - you gave me 4% of my primary hard disk space back.
:)
Chris
<snip>
--
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