This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
computing:storage:smeserver_add_disk [2012/04/22 20:14] gcooper created |
computing:storage:smeserver_add_disk [2014/09/19 13:39] (current) gcooper |
||
---|---|---|---|
Line 3: | Line 3: | ||
:!: Here we utilize an additional disk drive to expand the storage of an existing SME Server. | :!: Here we utilize an additional disk drive to expand the storage of an existing SME Server. | ||
- | Install | + | :!: We also use this technique in virtualized server installations. |
+ | |||
+ | ===== Installation ===== | ||
+ | |||
+ | Shut down the SME Server | ||
Partition the drive with one large partition. | Partition the drive with one large partition. | ||
Line 12: | Line 16: | ||
fdisk / | fdisk / | ||
</ | </ | ||
+ | |||
+ | :!: Use EXT4 for SME Server version 9. | ||
Format the partition and mount it to a temporary location: | Format the partition and mount it to a temporary location: | ||
Line 54: | Line 60: | ||
quotacheck -cug /home | quotacheck -cug /home | ||
- | quotacheck | + | quotaon -avug |
+ | </ | ||
+ | |||
+ | ===== Final Steps ===== | ||
+ | |||
+ | Once we test the new configuration, | ||
+ | |||
+ | :!: If this is a clean SME Server install and you realize there is little space to be gained, stop right now. | ||
+ | |||
+ | Carefully: | ||
+ | |||
+ | < | ||
+ | df -h # just to check the current disk utilization | ||
+ | umount /home | ||
+ | mount # just to make sure the new partition is no longer mounted | ||
+ | du -sh / | ||
+ | rm -rf /home/* | ||
+ | mount -a | ||
+ | df -h # compare the results with the first command | ||
</ | </ |