Re: [Hampshire] Hard disks and LVM

2009-11-03 Thread Leo
Stuart Sears wrote: > On 03/11/09 17:08, Stuart Sears wrote: > [...] >> /dev on a modern Linux system is usually managed by udev and should not >> need copying. To check this: >> # grep /dev /etc/fstab > > aarrgh. or in fact don't. I have no idea where that came from. > That's what you get for lea

Re: [Hampshire] Hard disks and LVM

2009-11-03 Thread Andy Smith
Hi Leo, On Tue, Nov 03, 2009 at 03:45:59PM +, Leo wrote: > Google suggests a few different ways of doing it (copy, rsync,...) and I > was wondering which is best? When in doubt, I always rsync. :) Cheers, Andy -- http://bitfolk.com/ -- No-nonsense VPS hosting don't try to kiss a defense

Re: [Hampshire] Hard disks and LVM

2009-11-03 Thread Stuart Sears
On 03/11/09 17:08, Stuart Sears wrote: [...] > /dev on a modern Linux system is usually managed by udev and should not > need copying. To check this: > # grep /dev /etc/fstab aarrgh. or in fact don't. I have no idea where that came from. That's what you get for leaving the house at 0530! :) howev

Re: [Hampshire] Hard disks and LVM

2009-11-03 Thread Stuart Sears
On 03/11/09 15:45, Leo wrote: > Keith Edmunds wrote: >> On Thu, 29 Oct 2009 20:56:58 +, li...@fractal.me.uk said: >> >>> If I were to create four partitions on the new disk (not >>> necessarily the same sizes as the old ones), copy the data >>> across from the old disks, and tell the BIOS to bo

Re: [Hampshire] Hard disks and LVM

2009-11-03 Thread Leo
Keith Edmunds wrote: > On Thu, 29 Oct 2009 20:56:58 +, li...@fractal.me.uk said: > >> If I were to create four partitions on the new disk (not >> necessarily the same sizes as the old ones), copy the data across from >> the old disks, and tell the BIOS to boot from the new /boot partition,

Re: [Hampshire] Hard disks and LVM

2009-10-30 Thread Vic
> What I was wondering is: is it possible to get LVM > to not split individual files across physical volumes. If you want to be certain not to split anything between disks, create a separate volume group for each physical disk you add. This does prevent you creating volumes that are larger than a

Re: [Hampshire] Hard disks and LVM

2009-10-30 Thread Keith Edmunds
On Thu, 29 Oct 2009 22:30:16 +, li...@fractal.me.uk said: > if I used a > RAID 1 device (e.g. md0) as a physical volume for LVM, and one of the > disks in md0 went down, would LVM carry on regardless while I replace > the disk? Yes. You do, however, need some way of knowing that one of the

Re: [Hampshire] Hard disks and LVM

2009-10-29 Thread Andy Smith
Hi Leo, On Thu, Oct 29, 2009 at 10:30:16PM +, Leo wrote: > if I used a RAID 1 device (e.g. md0) as a physical volume for LVM, > and one of the disks in md0 went down, would LVM carry on > regardless while I replace the disk? Yes. Though there will be a performance degradation on reads. Chee

Re: [Hampshire] Hard disks and LVM

2009-10-29 Thread Leo
Keith Edmunds wrote: > > You'd need to write the boot sector too, probably using Grub, but > otherwise yes, it should be happy. > Just to clarify, that's *not* copy the boot sector, but actually create it using GRUB? So using something like: grub> root (partition where new / is) grub> setup (dis

Re: [Hampshire] Hard disks and LVM

2009-10-29 Thread Keith Edmunds
On Thu, 29 Oct 2009 20:56:58 +, li...@fractal.me.uk said: > If I were to create four partitions on the new disk (not > necessarily the same sizes as the old ones), copy the data across from > the old disks, and tell the BIOS to boot from the new /boot partition, > would Ubuntu be happy? Yo

[Hampshire] Hard disks and LVM

2009-10-29 Thread Leo
A quick first question. I currently have two disks containing the partitions: /, /boot, /home and swap. I'd like to replace them with one new one. If I were to create four partitions on the new disk (not necessarily the same sizes as the old ones), copy the data across from the old disks, and t