Line 1: |
Line 1: |
| {{level|Advanced}} | | {{level|Advanced}} |
− | Source of this page is the [https://raid.wiki.kernel.org/index.php/Growing raid wiki] | + | Source of this page is the [https://raid.wiki.kernel.org/index.php/Growing raid wiki]. This is the [http://forums.contribs.org/index.php/topic,50311.0 initial forum post] which gives the need to write the the howto |
| | | |
| The purpose of this HOWTO is to add a new drive to an existing Raid5 with LVM, LVM is the standard installation of SME Server. Please backup your data before starting this HOWTO, '''or you may loose the lot'''. | | The purpose of this HOWTO is to add a new drive to an existing Raid5 with LVM, LVM is the standard installation of SME Server. Please backup your data before starting this HOWTO, '''or you may loose the lot'''. |
Line 145: |
Line 145: |
| | | |
| * You should verify that your LVM use the whole drive space with the command | | * You should verify that your LVM use the whole drive space with the command |
| + | |
| + | On Koozali SME v10 you should use xfs_growfs instead of resize2fs |
| + | |
| + | [root@smev10~]# xfs_growfs /dev/main/root |
| + | meta-data=/dev/mapper/main-root isize=512 agcount=4, agsize=1854976 blks |
| + | = sectsz=512 attr=2, projid32bit=1 |
| + | = crc=1 finobt=0 spinodes=0 |
| + | data = bsize=4096 blocks=7419904, imaxpct=25 |
| + | = sunit=0 swidth=0 blks |
| + | naming =version 2 bsize=4096 ascii-ci=0 ftype=1 |
| + | log =internal bsize=4096 blocks=3623, version=2 |
| + | = sectsz=512 sunit=0 blks, lazy-count=1 |
| + | realtime =none extsz=4096 blocks=0, rtextents=0 |
| + | data blocks changed from 7419904 to 11615232 |
| + | |
| + | |
| | | |
| [root@smeraid5 ~]# pvdisplay | | [root@smeraid5 ~]# pvdisplay |