服务器将 RAID1 转换为 LVM 和 RAID1 服务器

服务器将 RAID1 转换为 LVM 和 RAID1 服务器

我目前的 ubuntu 服务器设置如下:

Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0003d22b

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048   195350527    97674240   fd  Linux raid autodetect
/dev/sda2   *   195350528  3907028991  1855839232   fd  Linux raid autodetect

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000cd8db

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048   195350527    97674240   fd  Linux raid autodetect
/dev/sdb2   *   195350528  3907028991  1855839232   fd  Linux raid autodetect

Disk /dev/md1: 1900.2 GB, 1900244959232 bytes
2 heads, 4 sectors/track, 463926992 cylinders, total 3711415936 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md1 doesn't contain a valid partition table

Disk /dev/md0: 100.0 GB, 99951181824 bytes
2 heads, 4 sectors/track, 24402144 cylinders, total 195217152 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md0 doesn't contain a valid partition table

我想转换到 RAID 和 LVM 类型的服务器,但又不丢失到目前为止所做的一切。有没有办法可以保存 /dev/md1,然后将其放到我新创建的逻辑驱动器上?

相关内容