How can I enlarge the /var without reinstall the Linux?
I have only give /var 512M; however, now it is full...
May I ask how I can enlarge the /var without reinstall the Linux? I've got pretty much left for /home... Thanks a lot! |
Hi,
A lot depends on your partition scheme. Do a 'fdisk -l' too see the partitions. You could resize a partition or move to un-allocated space if that's available. You could add a hdd and create a partiton for '/var' then mount that space on '/var'. Several ways to get things done. We need to know the output of the 'fdisk -l' then proceed from there. :hattip: |
Quote:
Code:
Code:
|
Hi,
Quote:
'qtparted' is a good tool that you can use to manipulate your partitions. Partition schemes tend to be personal to some. Yours seems to be exotic. May I ask why you have it configured as such? Which distribution? :hattip: The above link and others can be found at 'Slackware-Links'. More than just SlackwareŽ links! |
Quote:
The first time I gave very little to / but the setup failed. Then I gave 5G to / /dev/sda10 5.0G 456M 4.3G 10% / Someone said /boot won't be more than 128M then I gave it 92M /dev/sda9 92M 32M 55M 37% /boot I need to save some documents and maybe codes under /home then I gave it 10G /dev/sda7 9.9G 1.2G 8.3G 12% /home I don't sure what's this for then I put about 500M. Any suggestion? /dev/sda14 494M 11M 458M 3% /local I ran some large program such as Matlab under Linux. Then I put 18G here /dev/sda11 18G 7.6G 9.4G 45% /opt I am not sure about this one but I think when I do my work I may need some space to store temporary files /dev/sda12 2.5G 147M 2.2G 7% /tmp I would like to setup new software. I think most of them will be installed under /usr, and I put 22G here /dev/sda8 22G 6.1G 15G 30% /usr I did't know what's this for; however, now I think it saves lots of log and message files. I need to enlarge this to 2G maybe. /dev/sda13 494M 469M 0 100% /var Currently, I use OpenSuse 11.1 which I think is one of the best distributions. I used Suse in a German company before, and I think it's cool. Welcome all suggestions about this. Thanks a lot. p.s. I tried slackware as a virtual machine under Windows. I think it's really keep the rule of KISS but I think it may not suitable for a newbie like me. I also need to do some programming under Linux, and I haven't got much time to deal with Linux learning itself... But I will try my best to learn. Cheers. |
Quote:
Quote:
What can you do for best to get around your 100% /var? There is no right answer; here are some options. First off where can you most easily find space? You could ditch /local and temporarily remove /tmp, presuming neither has any files you need (there has been a lot of debate recently on LQ about deleting files from /tmp; personally I remove them all during boot as soon as /tmp is writeable but this is contentious). Happily fdisk shows /local and /tmp sit either side of /var so you can get a total of 3.5 GB free space there. Which file system type are you using on /var? ext3? The mount command with the -l (letter l) option will tell you. |
All times are GMT -5. The time now is 10:46 PM. |