hmm, that was what I wasn't sure of, I think on 7.3 and below, lvm wasn't in the stock kernel, but we never use it (besides initial kickstart) so couldn't remember.
As far as lvm'ing everything:
we do not, as a general rule make a /boot lv, though I'm pretty sure we have in the past (makes for ugly rescue from CD, we wrote a net boot to get around), using lvmcreate_initrd, or am I thinking something else?
as for retention, if you build your parts for the initial install just enough to fit (with /boot being it's own little part in our design), you can pvcreate the other part of the disk, then after transfer of the system, go back and recover the ext3 partition into the vg...
Anyhow, that's what we do...
ext3 will expand, it's fugly, I much prefer the other three FS' they seem to journal better as well...
-------Original Message-------
Date: Wednesday, January 29, 2003 12:43:18
Subject: Re: how to resize partition without losing data?
Ignore the kernel patching instructions! It's already included. I'm running on this box. It's straight out of the box Redhat 8.0.
I've been prodded. I'll see if I can scribble up some simple instructions.
HOWEVER: <WARNING> You cannot ovelay it on a live system! It WILL erase all existing data on the drive(s). It can only be done on new drives, or at new installation time, when you can sacrifice the data on the disks. </WARNING>
If you're installing new disk(s), or re-installing a system, and don't care about losing the existing data. go for it!
Ric
Turner, John wrote: > The Sistina site had a pretty good HOW-TO, from what I saw of it. It also > had instructions for patching the kernel...so maybe it is possible to > retrofit it. > > John > > > >>-----Original Message----- >>From: Tibbetts, Ric [mailto:[EMAIL PROTECTED]] >>Sent: Wednesday, January 29, 2003 3:10 PM >>To: [EMAIL PROTECTED] >>Subject: Re: how to resize partition without losing data? >> >> >>LVM is good stuff. >>Unfortunately, it's only good stuff if you install it at the >>begining. >>It cannot be retroactivly installed. (that's the bad news). >> >>If you're building a new system, you'll need to do some planning for >>your filesystems. The boot partition cannot be on an LVM. So >>you can end >>up with something like: >> >>Filesystem 1K-blocks Used Available Use% Mounted on >>/dev/hda1 124427 19935 98068 17% /boot >>/dev/datavg/rootlv 253871 139648 101116 59% / >>/dev/datavg/usrlv 2064208 1876556 82796 96% /usr >>/dev/datavg/varlv 507748 64738 416796 14% /var >>/dev/datavg/tmplv 126931 4756 115622 4% /tmp >>/dev/datavg/optlv 2064208 56692 1902660 3% /opt >>/dev/datavg/srclv 1032088 198744 780916 21% /usr/src >>/dev/datavg/locallv 2064208 47968 1911384 3% /usr/local >>/dev/datavg/homelv 4128448 165852 3752884 5% /home >>/dev/datavg/Datalv 25040764 252444 23516308 2% /Data >>none 256592 0 256592 0% /dev/shm >> >> >>Note that /boot is on /dev/hda1, not on the logical volume. The >>remainder of the box, is build on logical volumes. >> >>Sistina has a lengthly discussion on LVM. It's really not as >>complex as >>it sounds. It just takes a little doing to get your head >>around it. It >>makes more sense (human sense) if you are dealing with >>multiple drives. >>It gets kinda fuzzy when you start speaking of "Volume Groups" in >>reference to a single drive. ;) >> >>I don't think there is a HOW-TO out yet for it. Maybe someone >>needs to >>prod me with a sharp stick, and make me write one... (I >>suppose if I'm >>going to rant about it, the least I could do is write up a simple >>mini-HOW-TO on the subject.. >> >>Ric >> >>Turner, John wrote: >> >>>Cool, thanks for the 8.0 info. >>> >>>John >>> >>> >>> >>> >>>>-----Original Message----- >>>>From: Tibbetts, Ric [mailto:[EMAIL PROTECTED]] >>>>Sent: Wednesday, January 29, 2003 2:28 PM >>>>To: [EMAIL PROTECTED] >>>>Subject: Re: how to resize partition without losing data? >>>> >>>> >>>>Doug; >>>>Thanks for adding that. I meant to put in a link to sistina, >>>>and didn't. >>>>Yes, LVM is included with RH 8.0. In fact, you can set it up >>>>at install >>>>time. >>>> >>>>I'm not sure that ext3 will expand "on the fly" though. I >>>>haven't tried. >>>>But ReiserFS, jfs, and xfs all will. >>>> >>>> >>>>Ric >>>> >>>> >>>>Douglas Myers wrote: >>>> >>>> >>>>>http://www.sistina.com/products_lvm.htm >>>>> >>>>>lvm homepage, has HOWTO, etc >>>>> >>>>>I'd also suggest looking into a filesystem that expands >>>> >>>>easily on the >>>> >>>> >>>>>fly, reiserFS, jfs (needs a patch), xfs, etc. I'd also >>>> >>>>grab the latest >>>> >>>> >>>>>toolset for lvm from there as well. >>>>> >>>>>I'm not sure on 8.0, but on 7.2 and 7.3, the RH kernel >>>> >>>>doesn't have lvm >>>> >>>> >>>>>in the kernel by defualt, IIRC >>>>> >>>>>/-------Original Message-------/ >>>>> >>>>>/*From:*/ [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >>>>>/*Date:*/ Wednesday, January 29, 2003 10:18:54 >>>>>/*To:*/ '[EMAIL PROTECTED]' <mailto:[EMAIL PROTECTED]> >>>>>/*Subject:*/ RE: how to resize partition without losing data? >>>>> >>>>>OK, cool. Thanks for the rant. >>>>> >>>>>Now, how about a pointer to more information on LVM, like a >>>> >>>>HOWTO, whether >>>> >>>> >>>>>it's installed by default in 7.2/7.3/8.0, where to get it, >>>> >>>>etc. instead???? >>>> >>>> >>>>>John >>>>> >>>>> >>>>>>-----Original Message----- >>>>>>From: Tibbetts, Ric [mailto:[EMAIL PROTECTED]] >>>>>>Sent: Wednesday, January 29, 2003 12:56 PM >>>>>>To: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >>>>>>Subject: Re: how to resize partition without losing data? >>>>>> >>>>>> >>>>>>John Norris wrote: >>>>>> >>>>>>>I ran into the sae problem on my pc, I am dual booting XP, >>>>>> >>>>>>and Linux. I >>>>>> >>>>>>>used Partition Magic 8.0 and resized the partitions in >>>>>> >>>>>>windows. Partiton >>>>>> >>>>>>>Magic also supports vfat.... >>>>>> >>>>>>People really need to get on the bandwagon, and get LVM >>>>>>installed & working. >>>>>>There's nothing bugs me worse than to see soemone answer a Linux >>>>>>question with "I have this great Windows utility..". >>>>>> >>>>>>LVM folks. Look it up, learn it, use it! IT's the answer to >>>>>>situations >>>>>>like this one. >>>>>> >>>>>>Once set up, I can do fun things like: >>>>>> >>>>>>enlarge a filesystem "on the fly" (no reboots required, >>>> >>>>no data loss). >>>> >>>> >>>>>>Add new filesystems "on the fly". No reboot required. >>>>>> >>>>>>And more! >>>>>>IT's part of Linux now. Stop depending on Windows >>>> >>>>solutions. LVM has >>>> >>>> >>>>>>been with unix for many years. IBM pioneered it a long time >>>>>>ago. It has >>>>>>since been adopted by nearly every other vendor under the sun. >>>>>> >>>>>>There's no need for the continued dependance on Windows based >>>>>>solutions. >>>>>>It's an insult to the Linux community to do so. >>>>>> >>>>>> >>>>>>JMHO-YMMV >>>>>> >>>>>>Ric >>>>>> >>>>>> >>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>>From: Daniel Rubin <[EMAIL PROTECTED] >>> >>><mailto:[EMAIL PROTECTED]>> >>> >>>>>>>Reply-To: [EMAIL PROTECTED] >> >><mailto:[EMAIL PROTECTED]> >> >>>>>>>To: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >>>>>>>Subject: how to resize partition without losing data? >>>>>>>Date: Wed, 29 Jan 2003 09:39:07 -0800 (PST) >>>>>>> >>>>>>>have used up 98% of my /usr, and need to increase >>>>>>>space in /usr. How do I resize it without losing data? >>>>>>> >>>>>>> >>>>>>>__________________________________________________ >>>>>>>Do you Yahoo!? >>>>>>>Yahoo! Mail Plus - Powerful. Affordable. Sign up now. >>>>>>>http://mailplus.yahoo.com >>>>>>> >>>>>>> >>>>>>> >>>>>>>-- >>>>>>>redhat-list mailing list >>>>>>>unsubscribe >>>> >>>>mailto:[EMAIL PROTECTED]?subject=unsubscribe >>>> >>>>>>https://listman.redhat.com/mailman/listinfo/redhat-list >>>>> >>>>> >>>>> >>>>>_________________________________________________________________ >>>>>Help STOP SPAM with the new MSN 8 and get 2 months FREE* >>>>>http://join.msn.com/?page=features/junkmail >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>>-- >>>>redhat-list mailing list >>>>unsubscribe > > mailto:[EMAIL PROTECTED]?subject=unsubscribe > >>>https://listman.redhat.com/mailman/listinfo/redhat-list >>> >>> >>> >>>-- >>>redhat-list mailing list >>>unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe >>>https://listman.redhat.com/mailman/listinfo/redhat-list >>>. >>> >>>____________________________________________________ >>><http://www.incredimail.com/redir.asp?ad_id=309&lang=9> /IncrediMail/ - >>>*Email has finally evolved* - *_Click Here_* >>><http://www.incredimail.com/redir.asp?ad_id=309&lang=9> >> >> >> >> > > >
-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list . |