[opensuse] Need to Shrink /home and grow / -- Any Gotchas before I do it??
Listmates, I am running out of space on /. During my last software update, yast gave me the error "Running out of Space" Continue? Yes/No. So as a temporary fix, I moved /var/cache/zypp/packages to /home/packages and softlinked it. This is a good temporary fix, but what I need to do is shrink /home and grow / by 10G. I have 374G of free space on /home, so space isn't a problem. My plan is just to boot from the gparted iso and shrink /home by 10 and then grow / by 10. I have a couple of questions. First, how dicey is it to shrink home? Second, is there a better tool to use besides gparted? My real concern is corrupting /home during the shrink. I have the 'fdisk -l' information in case the shrink goes bad, but is there any additional precautionary steps I should take? (I have backups) -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 18 February 2010 02:43:37 pm David C. Rankin wrote:
Listmates,
I am running out of space on /. During my last software update, yast gave me the error "Running out of Space" Continue? Yes/No. So as a temporary fix, I moved /var/cache/zypp/packages to /home/packages and softlinked it. This is a good temporary fix, but what I need to do is shrink /home and grow / by 10G. I have 374G of free space on /home, so space isn't a problem.
My plan is just to boot from the gparted iso and shrink /home by 10 and then grow / by 10.
I have a couple of questions. First, how dicey is it to shrink home? Second, is there a better tool to use besides gparted? My real concern is corrupting /home during the shrink. I have the 'fdisk -l' information in case the shrink goes bad, but is there any additional precautionary steps I should take? (I have backups)
Make sure your backup is correct and current, preferably to an external backup device. I'd recommend Parted Magic which is bootable and uses gparted but also has other options. Free download at: http://partedmagic.com. -- Thanks, Tom (retired penguin) openSUSE 11.3M2 x86_64, KDE 4.4.0 Kmail 1.13.0, FF 3.6 linxt-at-comcast.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David C. Rankin said the following on 02/18/2010 05:43 PM:
[...] (I have backups)
In that case, wipe the disk and install again but use LVM. It makes it easy to shrink and grow Logical Extents. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 02/18/2010 06:42 PM, Anton Aylward wrote:
David C. Rankin said the following on 02/18/2010 05:43 PM:
[...] (I have backups)
In that case, wipe the disk and install again but use LVM. It makes it easy to shrink and grow Logical Extents.
Even with backups, I want to avoid the tweaking time if possible. I have had mixed luck using complete backups of the .kde/.kde4 directories where the current config files may be from 10 releases earlier. I don't know why, it should be just 'cp -a' back in, but then when you go to chase a bit of weird behavior down, you alway have the uncertainty of "is it a problem with one of the backup config files...?" I'll give the shrink/grow approach a try and in worst case, I'll use backup and reinstall. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David C. Rankin said the following on 02/18/2010 09:39 PM:
On 02/18/2010 06:42 PM, Anton Aylward wrote:
David C. Rankin said the following on 02/18/2010 05:43 PM:
[...] (I have backups)
In that case, wipe the disk and install again but use LVM. It makes it easy to shrink and grow Logical Extents.
Even with backups, I want to avoid the tweaking time if possible. I have had mixed luck using complete backups of the .kde/.kde4 directories where the current config files may be from 10 releases earlier. I don't know why, it should be just 'cp -a' back in, but then when you go to chase a bit of weird behavior down, you alway have the uncertainty of "is it a problem with one of the backup config files...?"
I'll give the shrink/grow approach a try and in worst case, I'll use backup and reinstall.
Dunno, David, I have my own problems from time to time but a LONG while ago I learnt a few things: 1. Use LVM Your decisions about partitioning are not going to be right a year down the way. 2. Partition aggressively. I have at the system level / and /boot are not in the LVM everything else below is in the LVM /tmp since sharing that with /bin or /lib has some potential security problems - q.v. /home /usr /usr/lib /usr/share /var On some machines the /usr/share is actually a NFS mount - isn't that its intent? I also have on my own account on my laptop ~/.thunderbird - ~/Documents ~/Media ~/Downloads ~/Development and a few more Why? Well it makes backups easier. A bit more "management", yes, but I only have to backup what's actually changed. So the result is actually less work. This is an old laptop and all that fits on an old 80G drive. The LVM reports # pvscan PV /dev/sda5 VG vgmain lvm2 [52.73 GB / 21.81 GB free] Total: 1 [52.73 GB] / in use: 1 [52.73 GB] / in no VG: 0 [0 ] so I can easily grow the partitions. Since laptops are coming out now with disks in the 300G to 500G range I can't see how you can manage WITHOUT LVM. I put the / and /boot on 'real' partitions because I was apprehensive. Next time I'll put them in the LVM. In many ways I've solved your _original_ problem by not having so much under / in the first place. I think LVM is a wonderful thing for many reasons, like being able to take backup snapshots. But the 'deferred design decision' about how big a partition should be is an important one. -- The quality, not the longevity, of one's life is what is important. --Dr. Martin Luther King Jr -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 19/02/10 23:31, Anton Aylward wrote:
David C. Rankin said the following on 02/18/2010 09:39 PM:
On 02/18/2010 06:42 PM, Anton Aylward wrote:
David C. Rankin said the following on 02/18/2010 05:43 PM:
[...] (I have backups)
In that case, wipe the disk and install again but use LVM. It makes it easy to shrink and grow Logical Extents.
Even with backups, I want to avoid the tweaking time if possible. I have had mixed luck using complete backups of the .kde/.kde4 directories where the current config files may be from 10 releases earlier. I don't know why, it should be just 'cp -a' back in, but then when you go to chase a bit of weird behavior down, you alway have the uncertainty of "is it a problem with one of the backup config files...?"
I'll give the shrink/grow approach a try and in worst case, I'll use backup and reinstall.
Dunno, David, I have my own problems from time to time but a LONG while ago I learnt a few things:
1. Use LVM Your decisions about partitioning are not going to be right a year down the way.
2. Partition aggressively. I have at the system level
/ and /boot are not in the LVM everything else below is in the LVM
I am so sorry Anton, but could you please use language which is understandable? OK, I did get the message about using LVM, but after that....a total blank...
/tmp since sharing that with /bin or /lib has some potential security problems - q.v. /home /usr /usr/lib /usr/share /var
I, for example, have absolutely no idea of what you trying to state!
On some machines the /usr/share is actually a NFS mount - isn't that its intent?
I also have on my own account on my laptop
~/.thunderbird - ~/Documents ~/Media ~/Downloads ~/Development
and a few more
Why? Well it makes backups easier. A bit more "management", yes, but I only have to backup what's actually changed. So the result is actually less work.
This is an old laptop and all that fits on an old 80G drive. The LVM reports
# pvscan PV /dev/sda5 VG vgmain lvm2 [52.73 GB / 21.81 GB free] Total: 1 [52.73 GB] / in use: 1 [52.73 GB] / in no VG: 0 [0 ]
so I can easily grow the partitions. Since laptops are coming out now with disks in the 300G to 500G range I can't see how you can manage WITHOUT LVM.
I put the / and /boot on 'real' partitions because I was apprehensive. Next time I'll put them in the LVM.
In many ways I've solved your _original_ problem by not having so much under / in the first place.
I think LVM is a wonderful thing for many reasons, like being able to take backup snapshots. But the 'deferred design decision' about how big a partition should be is an important one.
*I* haven't a damn clue what your are talking about! :'( - but then, it's ignorant me. Sorry.... :-( ...no offence intended. BC -- A hole has been found in the nudist camp wall. Police are looking into it. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 19 Feb 2010 12:50:57 Basil Chupin wrote:
On 19/02/10 23:31, Anton Aylward wrote: [...]
I am so sorry Anton, but could you please use language which is understandable?
OK, I did get the message about using LVM, but after that....a total blank... [...]
I, for example, have absolutely no idea of what you trying to state!
[...]
*I* haven't a damn clue what your are talking about! :'( - but then, it's ignorant me.
Sorry.... :-( ...no offence intended.
BC
Try this, Basil :) http://en.wikipedia.org/wiki/Logical_volume_management and this http://en.wikipedia.org/wiki/Logical_Volume_Manager_%28Linux%29 HTH Bob -- Registered Linux User #463880 FSFE Member #1300 GPG-FP: A6C1 457C 6DBA B13E 5524 F703 D12A FB79 926B 994E openSUSE 11.2, Kernel 2.6.31.12-0.1-desktop, KDE 4.3.5 Intel Core2 Quad Q9400 2.66GHz, 4GB DDR RAM, nVidia GeForce 9600GT -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 20/02/10 03:20, Bob Williams wrote:
On Friday 19 Feb 2010 12:50:57 Basil Chupin wrote:
On 19/02/10 23:31, Anton Aylward wrote:
[...]
I am so sorry Anton, but could you please use language which is understandable?
OK, I did get the message about using LVM, but after that....a total blank...
[...]
I, for example, have absolutely no idea of what you trying to state!
[...]
*I* haven't a damn clue what your are talking about! :'( - but then, it's ignorant me.
Sorry.... :-( ...no offence intended.
BC
Try this, Basil :)
http://en.wikipedia.org/wiki/Logical_volume_management
and this
http://en.wikipedia.org/wiki/Logical_Volume_Manager_%28Linux%29
HTH
Bob
Thanks, Bob. (More reading...... :-) .) BC -- A hole has been found in the nudist camp wall. Police are looking into it. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anton Aylward wrote:
1. Use LVM Your decisions about partitioning are not going to be right a year down the way.
2. Partition aggressively.
Yep, I agree with that.
I put the / and /boot on 'real' partitions because I was apprehensive. Next time I'll put them in the LVM.
I'm still apprehensive :) One thing to be careful of if you do put everything into the LVM is do not use the whole disk for LVM. Make a partition (over the whole disk, perhaps) and put LVM in there. There's a documented problem with grub and LVM otherwise, which I missed and causes me pain every now and again :( Cheers, Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 02/19/2010 07:31 AM, Anton Aylward pecked at the keyboard and wrote:
David C. Rankin said the following on 02/18/2010 09:39 PM:
On 02/18/2010 06:42 PM, Anton Aylward wrote:
David C. Rankin said the following on 02/18/2010 05:43 PM:
[...] (I have backups)
In that case, wipe the disk and install again but use LVM. It makes it easy to shrink and grow Logical Extents.
Even with backups, I want to avoid the tweaking time if possible. I have had mixed luck using complete backups of the .kde/.kde4 directories where the current config files may be from 10 releases earlier. I don't know why, it should be just 'cp -a' back in, but then when you go to chase a bit of weird behavior down, you alway have the uncertainty of "is it a problem with one of the backup config files...?"
I'll give the shrink/grow approach a try and in worst case, I'll use backup and reinstall.
Dunno, David, I have my own problems from time to time but a LONG while ago I learnt a few things:
1. Use LVM Your decisions about partitioning are not going to be right a year down the way.
2. Partition aggressively. I have at the system level
/ and /boot are not in the LVM everything else below is in the LVM /tmp since sharing that with /bin or /lib has some potential security problems - q.v. /home /usr /usr/lib /usr/share /var
On some machines the /usr/share is actually a NFS mount - isn't that its intent?
I also have on my own account on my laptop
~/.thunderbird - ~/Documents ~/Media ~/Downloads ~/Development
and a few more
How many people have belly buttons? That number is close to the number of partition schemes currently used. Simple and to the point: 100M for /boot ample amount for swap all the rest for / No muss no fuss. If you run out of room add another drive or off load all the crap you downloaded and can't live without. Oh, and don't forget to actually try and figure out where all you free space suddenly went to (it called being proactive) before you run out of space. For all the business folk that under estimated the amount of space their database needed, create / on an LVM and when space is needed add another disk and grow one partition. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Ken Schneider - openSUSE said the following on 02/19/2010 09:56 AM:
Simple and to the point:
100M for /boot ample amount for swap all the rest for /
That seems high risk to me. Firstly there have been a number of privilege escalation vulnerabilities in the past that rely on users being able to create files on the same partition as setuid binaries and because /tmp is on the same partition as /bin and /lib. Yes, they've been patched, but one thing I've learnt is that the same kind of errors keep coming back. I've also had runaway processes that consume all the space they can on /home if the user lets them or on /tmp. Making those partitions set a limit which allows others to use the machine. If you only have "/" and a runaway process consumes all of the owning user's "~/tmp" the its consumed all of the disk for every other user as well, and even root may not be able to log in since it also means there's no space on "/tmp" T His attitude is proactive security-by-design.
No muss no fuss. If you run out of room add another drive
Not always possible and certainly not with a laptop!
or off load all the crap you downloaded and can't live without.
Some distributions - openSuse is one - tend to be heavy on use of space. Of course you could give up and go with a DamnSmallLinux. What what *you* can live without and what the installation packages won't do without, even though you could, is another matter. Like I really don't need the LDAP stuff and since I use Thunderbird I don't need the Postfix, but the way openSuse is designed I can't leave them out.
Oh, and don't forget to actually try and figure out where all you free space suddenly went to (it called being proactive) before you run out of space.
Yes, there are tools that can warn you :-) Not least of all some screen and task-bar widgets. But the most useful tool is 'df'. And if you have an aggressively partitioned system the 'df' is going to be a lot more use since, quite apart from the point I mentioned about being able to run even when some disk resource is consumed, you've already determined which part of the system tree is short of space. Much easier and faster to zoom in on that doing a series of "du -s" -- The author who benefits you most is not the one who tells you something you did not know before, but the one who gives expression to the truth that has been dumbly struggling in you for utterance." -- Oswald Chambers -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 19 February 2010 07:31:41 Anton Aylward wrote:
David C. Rankin said the following on 02/18/2010 09:39 PM:
On 02/18/2010 06:42 PM, Anton Aylward wrote:
David C. Rankin said the following on 02/18/2010 05:43 PM:
[...] (I have backups)
In that case, wipe the disk and install again but use LVM. It makes it easy to shrink and grow Logical Extents.
Even with backups, I want to avoid the tweaking time if possible. I have had mixed luck using complete backups of the .kde/.kde4 directories where the current config files may be from 10 releases earlier. I don't know why, it should be just 'cp -a' back in, but then when you go to chase a bit of weird behavior down, you alway have the uncertainty of "is it a problem with one of the backup config files...?"
I'll give the shrink/grow approach a try and in worst case, I'll use backup and reinstall.
Dunno, David, I have my own problems from time to time but a LONG while ago I learnt a few things:
1. Use LVM Your decisions about partitioning are not going to be right a year down the way.
Anton, Not to hi-jack this thread or anything, but simply as a warning to David from my own ignorant and possibly incorrect experience. You seem to like LVM, so I have a question for you. Do you dual or multiple boot diffferent OS's? Why? I do. Way back when, when LVM became popular I installed an early SuSE (don't remember which) I used LVM and it seemed to work very nicely. About two OS's versions later I went to install again and tried to use LVM. The partitioning setup was a nightmare. LVM wanted to include stuff from the older version in it's makeup and whatever I tried to configure with partitions I could not resolve it. Scared the bejeebers out of me. Too long ago to remember the details. So I used a regular partitioning setup and did not look back. Now, maybe it was my ignorance on not knowing how to do it. But !! So the question remains. Do you dual or multiple boot successfully using exclusively LVM ? Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Bob S said the following on 02/19/2010 10:28 PM:
You seem to like LVM, so I have a question for you. Do you dual or multiple boot diffferent OS's? Why? I do. Way back when, when LVM became popular I installed an early SuSE (don't remember which) I used LVM and it seemed to work very nicely. About two OS's versions later I went to install again and tried to use LVM. The partitioning setup was a nightmare. LVM wanted to include stuff from the older version in it's makeup and whatever I tried to configure with partitions I could not resolve it. Scared the bejeebers out of me. Too long ago to remember the details. So I used a regular partitioning setup and did not look back.
Now, maybe it was my ignorance on not knowing how to do it. But !! So the question remains. Do you dual or multiple boot successfully using exclusively LVM ?
No and ... sort of yes. No I don't do dual boot out of LVM. I left, as was mentioned on another thread, a Windows partition on my HP laptop, but I never seem to use it. I always intended to find some way to use it under a Virtual Machine, but there was never a simple way to tell the VirtualBox GUI to use an existing Windows ... I keep saying that when I have a machine with four times as much memory and five times as much disk .... There is spare space on the laptop's VM partition, but I'm not sure its enough. I think part of your problem might have been in the sharing of certain old partitions. I'd be reluctant to share more than /home and /tmp What would it take? Some fiddling with Grub - I don't know enough grub-hacking. Putting a /boot in the LVM? Hmm. Beyond my experience. Yes I had problems not unlike those you describe when I first worked with Linux LVM. I'd spent years with AIX and HP/UX and their LVMs and was delighted when I saw a LVM for Linux. And it was awful. Oh, it worked, provided you did what the original designer intended, which I promptly exceeded since I was familiar with "Big Iron" LVM and had different expectations and vision. But I eventually lived with those limits and rejoiced when LVM2 came out. After that I converted all my machines the LVM and have had no LVM problems at all. When disks have begun to die I've used LVM to painlessly mirror to the new (bigger, cheaper) drive. That was a joy. LVM isn't RAID but it does great job of mirroring! I use LVM to do snapshot backups. I'm very happy with LVM. LVM2 that is. There is an almost "yes" in that when I moved from Mandriva to openSuse it was on a machine running LVM2 and there were no LVM problems. I did keep the Mandriva partition around just in case but I never ran the machine as dual-boot. The change to openSuse went well, better in fact than some Mandriva upgrades! So I didn't keep the old Mandriva partition and never worked on a dual boot. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Right now I don't have a spare machine and a span of time to experiment. And I have other priorities. And I have no inclination to run multiple ... Oh, wait! Maybe run 11.2 with 11.1 Maybe. But I'm not going to be bleeding edge about this. If anyone has I'd like to discuss it. -- The surest way to corrupt a youth is to instruct him to hold in higher esteem those who think alike than those who think differently. -- Friedrich Nietzsche -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anton Aylward said the following on 02/20/2010 08:29 AM:
Bob S said the following on 02/19/2010 10:28 PM:
Now, maybe it was my ignorance on not knowing how to do it. But !! So the question remains. Do you dual or multiple boot successfully using exclusively LVM ?
Maybe this helps http://www.justlinux.com/forum/showthread.php?threadid=147959 -- Religion is the sigh of the oppressed creature, the heart of the heartless world, just as it is the spirit of a spiritless situation. It is the opium of the people. -- Karl Marx -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anton Aylward said the following on 02/20/2010 09:53 AM:
Anton Aylward said the following on 02/20/2010 08:29 AM:
Bob S said the following on 02/19/2010 10:28 PM:
Now, maybe it was my ignorance on not knowing how to do it. But !! So the question remains. Do you dual or multiple boot successfully using exclusively LVM ?
Maybe this helps http://www.justlinux.com/forum/showthread.php?threadid=147959
And more http://www.justlinux.com/forum/showthread.php?t=152403 Dual booting Fedora and openSuse http://www.linuxquestions.org/blog/fritzp-447197/2009/6/6/grub-cannot-access... http://lwn.net/Articles/338337/ <quote> While Ubuntu is switching later this year, openSUSE currently has no plans to switch to GRUB 2 in its next release, version 11.2 .... According to Jaeger, the openSUSE developers have so far not received a single request to move to GRUB 2 .... </quote> http://en.opensuse.org/Portable_SUSE The "Using the Linux Volume Manager (LVM) for root on the USB disk " shows some hacking of mkinitrd http://en.opensuse.org/Encrypted_Root_File_System http://lizards.opensuse.org/2009/03/18/encrypted-root-file-system-on-lvm/ -- Communism doesn't work because people like to own stuff. Frank Zappa -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 20 February 2010 08:29:11 Anton Aylward wrote:
Bob S said the following on 02/19/2010 10:28 PM:
You seem to like LVM, so I have a question for you. Do you dual or multiple boot diffferent OS's? Why? I do. Way back when, when LVM became popular I installed an early SuSE (don't remember which) I used LVM and it seemed to work very nicely. About two OS's versions later I went to install again and tried to use LVM. The partitioning setup was a nightmare. LVM wanted to include stuff from the older version in it's makeup and whatever I tried to configure with partitions I could not resolve it. Scared the bejeebers out of me. Too long ago to remember the details. So I used a regular partitioning setup and did not look back.
Now, maybe it was my ignorance on not knowing how to do it. But !! So the question remains. Do you dual or multiple boot successfully using exclusively LVM ?
.........<snip stuff>.............
Right now I don't have a spare machine and a span of time to experiment. And I have other priorities. And I have no inclination to run multiple ...
Oh, wait! Maybe run 11.2 with 11.1 Maybe. But I'm not going to be bleeding edge about this. If anyone has I'd like to discuss it.
Yes, Since you are experienced with LVM I would like to hear of your experience using/installing LVM on both 11.1 and 11.2 just as far as installing properly in separate LVM partitions. Whether there is interplay between the partitions of the two separate OS's in the LVM. Since a long time now I have always made /home, /tmp, and /var separate partitions on every OS that I install. I separate the multiple /tmp's, /var's by labeling them differently. Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anton Aylward wrote:
After that I converted all my machines the LVM and have had no LVM problems at all. When disks have begun to die I've used LVM to painlessly mirror to the new (bigger, cheaper) drive. That was a joy. LVM isn't RAID but it does great job of mirroring!
I'm planning on replacing the drive in my Thinkpad with a much larger one. What process did you use to mirror the drives. Did you enlarge the partitions at the same time. As I mentioned in another note, I have some non LVM partitions to move over too. tnx jk -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
James Knott said the following on 02/21/2010 11:55 AM:
Anton Aylward wrote:
After that I converted all my machines the LVM and have had no LVM problems at all. When disks have begun to die I've used LVM to painlessly mirror to the new (bigger, cheaper) drive. That was a joy. LVM isn't RAID but it does great job of mirroring!
I'm planning on replacing the drive in my Thinkpad with a much larger one. What process did you use to mirror the drives. Did you enlarge the partitions at the same time. As I mentioned in another note, I have some non LVM partitions to move over too.
Sorry, I should have been clearer. ON MY OLD DESKTOP, when disks began to de .. ON MY SERVER .... Laptop? Dunno. Maybe I'll try one of the external USB of firewire drives. Maybe. If I do I'll report here. When the time comes. I also see there are harnesses for connecting IDE or SATA drives via USB. Maybe I'll look at one of those. As for copying partitions ... the documentation on LVM describes how to snapshot an image for backup. That's one way of copying a WHOLE partition. But often I have to 'split' a partition. Recently I created a "~/.thunderbird" partition, both to free up space on the partition containing "~' and to allow a separate backup. I copy using either "cpio" or "rsync". I also do my backups from the laptop to the server using "rsync". All of which has nothing specifically to do with LVM. -- There is no use whatever trying to help people who do not help themselves. You cannot push anyone up a ladder unless he be willing to climb himself. - Andrew Carnegie -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Bob S wrote:
Now, maybe it was my ignorance on not knowing how to do it. But !! So the question remains. Do you dual or multiple boot successfully using exclusively LVM ?
Bob S
The only computer I dual boot on is my ThinkPad, which came with XP. I use LVM, but the Windows accessible partitions are not on the LVM. Neither is the Linux /boot directory. Everything else is. The Windows accessible partitions are C:/ (NTFS) and D:/ (FAT32) which contains my "My Documents" folder. I also use LVM on a server with a RAID array, which makes things a lot easier than trying to RAID all the partitions. Simply create the RAID with the LVM on it and then slice up the LVM as required. My main desktop system also uses LVM. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
James Knott said the following on 02/21/2010 11:46 AM:
The only computer I dual boot on is my ThinkPad, which came with XP. I use LVM, but the Windows accessible partitions are not on the LVM. Neither is the Linux /boot directory. Everything else is. The Windows accessible partitions are C:/ (NTFS) and D:/ (FAT32) which contains my "My Documents" folder.
That describes my laptop too.
I also use LVM on a server with a RAID array, which makes things a lot easier than trying to RAID all the partitions. Simply create the RAID with the LVM on it and then slice up the LVM as required.
That describes - almost - my server. I use LVM to mirror rather than RAID.
My main desktop system also uses LVM.
The described my desktop before replaced it with this wide-screen laptop. -- Between the iron gates of fate, The seeds of time were sown, And watered by the deeds of those Who know and who are known; Knowledge is a deadly friend When no one sets the rules. The fate of all mankind I see Is in the hands of fools. - Greg Lake -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Donnerstag, 18. Februar 2010 23:43:37 schrieb David C. Rankin:
Listmates,
I am running out of space on /. During my last software update, yast gave me the error "Running out of Space" Continue? Yes/No. So as a temporary fix, I moved /var/cache/zypp/packages to /home/packages and softlinked it. This is a good temporary fix, but what I need to do is shrink /home and grow / by 10G. I have 374G of free space on /home, so space isn't a problem.
My plan is just to boot from the gparted iso and shrink /home by 10 and then grow / by 10.
I have a couple of questions. First, how dicey is it to shrink home? Second, is there a better tool to use besides gparted? My real concern is corrupting /home during the shrink. I have the 'fdisk -l' information in case the shrink goes bad, but is there any additional precautionary steps I should take? (I have backups)
Have you checked your temp directory /temp. In OS 11.2 you have to configure the cleaning of this directory in yast. yast -> system on the left side-> Editor for /etc/configure right side-> left side -> system /cron clear?tmp?dirs at boot kind regards Pete -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday, 2010-02-18 at 16:43 -0600, David C. Rankin wrote:
Listmates,
I am running out of space on /. During my last software update, yast gave me the error "Running out of Space" Continue? Yes/No. So as a temporary fix, I moved /var/cache/zypp/packages to /home/packages and softlinked it. This is a good temporary fix, but what I need to do is shrink /home and grow / by 10G. I have 374G of free space on /home, so space isn't a problem.
You know that your temporary solution is not a bad solution. You could leave it that way and live on :-)
My plan is just to boot from the gparted iso and shrink /home by 10 and then grow / by 10.
I have a couple of questions. First, how dicey is it to shrink home? Second, is there a better tool to use besides gparted? My real concern is corrupting /home during the shrink. I have the 'fdisk -l' information in case the shrink goes bad, but is there any additional precautionary steps I should take? (I have backups)
A good, working, backup. The shrinking procedure scares me a lot! Then, once you have a backup, perhaps recreating the partitions from scratch might run faster. Dunno how parted does it, but time ago I used Ghost and Partition Magic (windows), and it was very slow. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkt/vVkACgkQtTMYHG2NR9UVmACggO5DCGHWDTZA/a3y+JqPMZ5T Z1kAn3vtb/7dPyQzdvtTBTzwWCnT74vY =SZ3L -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (11)
-
Anton Aylward
-
Basil Chupin
-
Bob S
-
Bob Williams
-
Carlos E. R.
-
Dave Howorth
-
David C. Rankin
-
James Knott
-
Ken Schneider - openSUSE
-
Peter Hoyer
-
Thomas Taylor