Re: [Hampshire] Hard disks and LVM

Top Page

Reply to this message
Author: Keith Edmunds
Date:  
To: hampshire
Subject: Re: [Hampshire] Hard disks and LVM
On Thu, 29 Oct 2009 20:56:58 +0000, linux@??? 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?


You'd need to write the boot sector too, probably using Grub, but
otherwise yes, it should be happy.

> What I was wondering is: is it possible to get LVM
> to not split individual files across physical volumes. I'm thinking
> (incorrectly?) that this would make recovery easier if I lost a disk.


Incorrectly, yes. If you only want the files to go on one disk, don't
extend the logical volume over more than one (yes pedants, I do realise it
isn't as simple as that). Better still, don't use LVM at all...

Keith

--
Keith Edmunds

+-------------------------------------------------------------------------+
|    Tiger Computing Ltd    |  Helping businesses make the most of Linux  |
|  "The Linux Specialists"  |       http://www.tiger-computing.co.uk      |

+-------------------------------------------------------------------------+