Re: [opensuse] Re: Root folder full
I've used GParted for things like this in the past - http://gparted.sourceforge.net/ Chris
"Davi C. Rodrigues" 10/16/13 3:04 PM >>> I am not an expert on such matters, but I cannot understand what the temp files have to do with my problem. They only occupy a very small fraction of the root, a few MB in 20 GB.
Also, the logs seem not to be the source of trouble. sudo du -h /var/log root's password: 88K /var/log/ConsoleKit 4.0K /var/log/krb5 54M /var/log/journal/41ef233e76e7528b304b79b700000697 54M /var/log/journal 4.0K /var/log/samba 4.0K /var/log/hp 15M /var/log/YaST2 1.4M /var/log/zypp 4.0K /var/log/news 1.6M /var/log/cups 102M /var/log It seems that the safest thing to do is to uninstall the older version of Mathematica. If I do this, I will recover 3 GB. That helps, but unfortunately, that is not much, and I would like to preserve the old version... Probably the best thing to do would be to set a larger partition for root when I installed opensuse. Is there a safe and easy way to enlarge the root partition? Thanks -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Moin, On Oct 16, 13 15:35:01 -0500, Christopher Myers wrote: [...]
It seems that the safest thing to do is to uninstall the older version of Mathematica. If I do this, I will recover 3 GB. That helps, but unfortunately, that is not much, and I would like to preserve the old version... Probably the best thing to do would be to set a larger partition for root when I installed opensuse. Is there a safe and easy way to enlarge the root partition?
From what I saw, there are two possible solutions for you if you do not want to remove stuff:
1) If you have still a free partion (or enough spsace on the disc to create one), mount /usr/local to that new partition. To get your data from current /usr/local to it, you would need to mount the new partition as something else (e.g. as /mnt/tmp) , move everything to it, umount /mnt/tmp and remount the partition then as /usr/local. That would be the best way. Maybe you could get the new partition by resizing /home, which has 800GB if I remember correct. 2) If you have no free partition, a dirty trick would be to mv /usr/local to /home/local and make /usr/local a link to /home/local. But that is dirty. Stefan -- Stefan Behlert, SUSE LINUX Maxfeldstr. 5, D-90409 Nuernberg, Germany Phone +49-911-74053-173 SUSE LINUX Products GmbH, Nuernberg; GF: Jeff Hawn, Jennifer Guild, Felix Imendoerffer, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 17/10/2013 09:01, Stefan Behlert a écrit :
2) If you have no free partition, a dirty trick would be to mv /usr/local to /home/local and make /usr/local a link to /home/local.
(soft) link do not always works, but one can mount --bind. I do this for my hudge /srv folder mount --bind /home/data/srv /srv in fstab: /home/data/srv/ /srv none bind jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Thanks for the tips. I always learn many things when I write here. I decided that the best procedure was to remove the old mathematica version, now I have 3GB free. The other procedures appeared to me to involve some risk. With a backup, the risk is not of loosing data, but of loosing a good amount of time. Moreover, I have currently no need of more space for now. I will consider more carefully the partitions in a future installation. Thanks. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, Oct 17, 2013 at 3:50 PM, Davi C. Rodrigues <davi.c.rodrigues@gmail.com> wrote:
Thanks for the tips. I always learn many things when I write here.
I decided that the best procedure was to remove the old mathematica version, now I have 3GB free. The other procedures appeared to me to involve some risk. With a backup, the risk is not of loosing data, but of loosing a good amount of time. Moreover, I have currently no need of more space for now. I will consider more carefully the partitions in a future installation.
Thanks.
The idea of creating a new empty partition and using it to hold /usr/local is very safe "if" you have unallocated space on your disk. Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
The idea of creating a new empty partition and using it to hold /usr/local is very safe "if" you have unallocated space on your disk.
I have a lot of free space on my disc, about 700 GB, but this space already belongs to a partition. I have no unpartitioned space. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Davi C. Rodrigues said the following on 10/17/2013 07:22 PM:
The idea of creating a new empty partition and using it to hold /usr/local is very safe "if" you have unallocated space on your disk.
I have a lot of free space on my disc, about 700 GB, but this space already belongs to a partition. I have no unpartitioned space.
WOW! Considering you can install openSuse in about 20G - I run it that way on one workstation and mount /home (and everything below that such as ~/Media and ~/Projects) via NFS, 700G is an AWFUL LOT. The workstation I'm using now has a 20G drive with 18G available for the system of which less than 10G is in use and only /home is NFS mounted. OK, I don't have much in /opt or /local ... What other partitions do you have? If your only other is /home, then is it full? If its not you might consider shrinking the FS then the partition to free up space. My ~/Media is huge but most of my other stuff comes in less than 5G slices so I can back them up to DVD. ~/Downloads ~/Documents ~/Media/Videos ~/Media/Music OK, those last two have a couple of sub mounts ... -- The nature of the decision space for information protection leads to different types of metrics for different situations (horses for courses), and in many cases, several different metrics types are involved. The desire to find a return on investment (ROI) or other single number to make security decisions is unlikely to work well, and it usually ends up costing more than it's worth. Better decisions come from better understanding of the decision space. -- Fred Cohen http://fredcohen.net/Analyst/2011-06.pdf -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/17/2013 4:45 PM, Anton Aylward wrote:
WOW!
Considering you can install openSuse in about 20G - I run it that way on one workstation and mount /home (and everything below that such as ~/Media and ~/Projects) via NFS, 700G is an AWFUL LOT.
Anton, you gotta get out more buddy. Go surf any big maker or retailer and you will see 500Gig is an entry level desktop or laptop, and a performance desktop starts at 1TB. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/17/2013 6:23 PM, John Andersen wrote:
On 10/17/2013 4:45 PM, Anton Aylward wrote:
WOW!
Considering you can install openSuse in about 20G - I run it that way on one workstation and mount /home (and everything below that such as ~/Media and ~/Projects) via NFS, 700G is an AWFUL LOT.
Anton, you gotta get out more buddy.
Ditto on that. I'm trying to figure out how to afford more diskspace...
/tmp/disksum Filesystem Size Used Use% /root 12G 9.3G 78% /sdc6 15G 9.6G 65% /sdc2 7.8G 4.2G 53% /sdc3 908M 315M 35% /HnS/Home 1.0T 891G 87% /HnS/Win 1.0T 427G 42% /HnS/Share 1.5T 1.2T 80% /HnS/Home.diff 512G 33M 1% /Media/Media 7.3T 6.3T 87% /HnS/Squid_Cache 128G 114G 89% /Backups/Backups 11T 9.6T 88% /HnS/Media_Back 8.0T 6.3T 78% /HnS/Home-09-21 576M 512M 89% /HnS/Home-09-25 732M 646M 89% /HnS/Home-09-29 631M 560M 89% /HnS/Home-10-01 6.4G 5.4G 84% /HnS/Home-10-03 1.3G 1.2G 87% /HnS/Home-10-05 403M 359M 89% /HnS/Home-10-07 3.3G 2.8G 85% /HnS/Home-10-09 844M 739M 88% /HnS/Home-10-10 3.2G 2.7G 85% /HnS/Home-10-11 4.2G 3.6G 85% /HnS/Home-10-12 3.5G 2.9G 85% /HnS/Home-10-13 612M 543M 89% /HnS/Home-10-14 35G 29G 84% /HnS/Home-10-15 4.6G 3.9G 85% /HnS/Home-10-17 1.0T 889G 87% /HnS/Home-10-16 3.6G 3.0G 85% *ALL* 31.5T 25.7T 81%
700G was an awful lot back in the mid-late 80's... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
John Andersen said the following on 10/17/2013 09:23 PM:
On 10/17/2013 4:45 PM, Anton Aylward wrote:
WOW!
Considering you can install openSuse in about 20G - I run it that way on one workstation and mount /home (and everything below that such as ~/Media and ~/Projects) via NFS, 700G is an AWFUL LOT.
Anton, you gotta get out more buddy.
Go surf any big maker or retailer and you will see 500Gig is an entry level desktop or laptop, and a performance desktop starts at 1TB.
Yes, I have those. Servers eat them. But regular readers will recall that I make a point of being able to run non-lightweight contemporary Linux on machines out of the Closet of Anxieties which can't even run Windows 7. As for small 'disks' Chromebooks come with ones a lot smaller than that. A buddy at the coffee shop has a Acer C710 which he loaded up with more memory, took out the 320GB hard drive it came with and replaced it with a 120GB SSD. At Best Buy locally the come with a 16GB SD, just like the 16GB on most tablets and phones. Yes, the 'cloud' changes many things. So does running VDI workstations. Those 1T drives aren't fast enough for many VDI setups that use VMWare to multi-instance Windows and need something more like the SSD-cached system of Whiptail that Cisco has just bought. That is why I prefer Linux and PXE and NFS for VDI. While it increases the startup bandwidth, it doesn't make the storage, server computer, server memory or long term bandwidth demands that the VMWare/Windows does. In fact its rather like the 'cloud' operation of tablets and Chromebooks in some regards. Its also cooler in that you can offer the user different versions -- which system to boot, versions of Linux, Solaris-86 etc. I'm told you can offer then Windows but I've not looked into that. The 'big makers' made big by selling BIG - the 'consume more' principle, 'intensification of resource consumption' the sociologists call it.. What was it Hank said: "small cars, small profits". Don't call me Green, but I've worked so often for small firms and startups which have been budget limited (or the budget went to sales & promotion and not IT) that I've found parsimony a good trend. And heck, some file systems can handle compression. -- "Nothing is more difficult to carry out, nor more doubtful of success, nor more dangerous to handle, than to initiate a new order of things." -- Machiavelli -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday, 2013-10-17 at 20:22 -0300, Davi C. Rodrigues wrote:
The idea of creating a new empty partition and using it to hold /usr/local is very safe "if" you have unallocated space on your disk.
I have a lot of free space on my disc, about 700 GB, but this space already belongs to a partition. I have no unpartitioned space.
Then use symlinks. For example, suppose you have a big /data partition with free space, and that you want to "move" /usr/local to there. Well, just create a directory: /data/HereIMoveUsrSrc/ and copy there the entire /usr/src. Once copied, rename it as "/usr/oldsrc". Then create a symlink: usr/src/ --> /data/HereIMoveUsrSrc/ Once that works and you test it, remove "/usr/oldsrc". The procedure is safe, as you don't delete anything till finished and tested. Another procedure is uing "mount binds" instead of symlinks. - -- Cheers, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlJnIdoACgkQtTMYHG2NR9VceACfQiJvYlLT0EI2JvS40QNNobbN uagAoJfZKjz0ELhhnmaUlbO7ht2GYBLf =kS9V -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (9)
-
Anton Aylward
-
Carlos E. R.
-
Christopher Myers
-
Davi C. Rodrigues
-
Greg Freemyer
-
jdd
-
John Andersen
-
Linda Walsh
-
Stefan Behlert