经过多次尝试将我的问题正式化后,我想,我终于成功了。
是)我有的:
mount -l
...
/dev/md123 on / type ext3 (rw,noatime,errors=continue,user_xattr,acl,barrier=0,data=ordered)
/dev/md121 on /home2 type ext3 (rw,relatime,errors=continue,barrier=0,data=ordered)
/dev/md125 on /h1 type ext3 (rw,relatime,errors=continue,barrier=0,data=ordered)
...
cat /proc/mdstat
...
md121 : active raid1 sde2[1] sdf2[0]
293065664 blocks [2/2] [UU]
md125 : active raid1 sdc7[0] sdd7[1]
20659456 blocks [2/2] [UU]
md123 : active raid1 sdc2[0] sdd2[1]
2939776 blocks [2/2] [UU]
...
fdisk -l
...
Device Boot Start End Blocks Id System
/dev/sdc1 * 63 1606499 803218+ fd Linux raid autodetect
/dev/sdc2 1606500 7486289 2939895 fd Linux raid autodetect
/dev/sdc3 7486290 11406149 1959930 fd Linux raid autodetect
/dev/sdc4 11406150 72292499 30443175 5 Extended
/dev/sdc5 11406213 27053459 7823623+ fd Linux raid autodetect
/dev/sdc6 27053523 30973319 1959898+ fd Linux raid autodetect
/dev/sdc7 30973383 72292499 20659558+ fd Linux raid autodetect
...
Device Boot Start End Blocks Id System
/dev/sdd1 * 63 1606499 803218+ fd Linux raid autodetect
/dev/sdd2 1606500 7486289 2939895 fd Linux raid autodetect
/dev/sdd3 7486290 11406149 1959930 fd Linux raid autodetect
/dev/sdd4 11406150 72292499 30443175 5 Extended
/dev/sdd5 11406213 27053459 7823623+ fd Linux raid autodetect
/dev/sdd6 27053523 30973319 1959898+ fd Linux raid autodetect
/dev/sdd7 30973383 72292499 20659558+ fd Linux raid autodetect
...
Device Boot Start End Blocks Id System
/dev/sdf1 63 390636539 195318238+ fd Linux raid autodetect
/dev/sdf2 390636540 976768064 293065762+ fd Linux raid autodetect
...
Device Boot Start End Blocks Id System
/dev/sde1 63 390636539 195318238+ fd Linux raid autodetect
/dev/sde2 390636540 976768064 293065762+ fd Linux raid autodetect
要解决的问题:
h1仅包含电子邮件用户homedirs(邮箱的邮箱目录)。
我想在home2下移动h1目录。所以它将是/ home2 / h1 并且我想删除/ dev / md125,因此它的所有可用空间都将转到/ md123。