Skip to content

HOWTO: Migrate lvm root partition to new created software raid in LINUX

January 21, 2015

/dev/sda – > production disk

/dev/sdb -> new disk

/dev/sdb5 -> /dev/mapper/srv0-root  mounted on /

sfdisk -d /dev/sda |sfdisk –force /dev/sdb

reboot or partprobe

pvcreate /dev/sdb5

 

Advertisements
Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: