Mailinglist Archive: opensuse-factory (528 mails)
| < Previous | Next > |
Re: [opensuse-factory] How to get rid of allmost out of space message?
- From: "Rajko M." <rmatov101@xxxxxxxxxxx>
- Date: Sun, 6 May 2007 13:23:29 -0500
- Message-id: <200705061323.29856.rmatov101@xxxxxxxxxxx>
On Sunday 06 May 2007 10:13, M9. wrote:
> Hi,
>
> I tried to expand /usr, and /var, by mount --bind to a free partition.
> This does not take the message away..
> for some reason /var is spammed full with zypp stuf and xml-files, which
> are, imho unnessesary.(only, i do not know what i can throw away safely..)
>
> How can i achieve, that there is clear, that there is more space
> available at the other location?
>
> I did try to add the mounts to /etc/fstab by /dev/hdd7/usr
>
> /dev/hda6/spare/usr bind defaults 0 0, but i get the answer:
> > tribal-sfn2:/home/monkey9 # /dev/hdd7/usr /dev/hda6/spare/usr bind
> > defaults 0 0 bash: /dev/hdd7/usr: Niet een map
> > tribal-sfn2:/home/monkey9 #
>
> Can someone give me 'the golden tip' on how to expand a run out of space
> partition?
>
> please?
>
> ;-)
It's hard to tell without knowing usage.
In the system with single used partition for all directories, I used to switch
to runlevel 1 nad then:
mkdir /mnt/hdd7
mount -t auto /dev/hdd7 /mnt/hdd7
copy /usr /mnt/hdd7
umount /mnt/hdd7
mv /usr /usr1
mount -t auto /dev/hda7 /usr
Check that it works.
init 5
Put in /etc/fstab
/dev/hdd7 /usr auto defaults 0 0
Reboot to see that it is all OK and remove /usr1.
Instead of "auto" you can put actual file system on /dev/hdd7.
--
Regards,
Rajko.
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
> Hi,
>
> I tried to expand /usr, and /var, by mount --bind to a free partition.
> This does not take the message away..
> for some reason /var is spammed full with zypp stuf and xml-files, which
> are, imho unnessesary.(only, i do not know what i can throw away safely..)
>
> How can i achieve, that there is clear, that there is more space
> available at the other location?
>
> I did try to add the mounts to /etc/fstab by /dev/hdd7/usr
>
> /dev/hda6/spare/usr bind defaults 0 0, but i get the answer:
> > tribal-sfn2:/home/monkey9 # /dev/hdd7/usr /dev/hda6/spare/usr bind
> > defaults 0 0 bash: /dev/hdd7/usr: Niet een map
> > tribal-sfn2:/home/monkey9 #
>
> Can someone give me 'the golden tip' on how to expand a run out of space
> partition?
>
> please?
>
> ;-)
It's hard to tell without knowing usage.
In the system with single used partition for all directories, I used to switch
to runlevel 1 nad then:
mkdir /mnt/hdd7
mount -t auto /dev/hdd7 /mnt/hdd7
copy /usr /mnt/hdd7
umount /mnt/hdd7
mv /usr /usr1
mount -t auto /dev/hda7 /usr
Check that it works.
init 5
Put in /etc/fstab
/dev/hdd7 /usr auto defaults 0 0
Reboot to see that it is all OK and remove /usr1.
Instead of "auto" you can put actual file system on /dev/hdd7.
--
Regards,
Rajko.
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
| < Previous | Next > |