Would a raid controller without battery backup work?
First, you should really use a HW Raid controller - SW Raid is not supported for various reasons (see forum).
LVM is used by default, so you can simply add the second disk after installation (and expand the filesystem/LV named /dev/pve/data)
- Dietmar
So from what I understand you are using LVM by default for the first drive, and if I add a 2nd drive I can simpoly expand the filesystem named /dev/pve/data and utilize both disks.. (without having a hardware raid controller or doing software raid) correct?
# pvdisplay
# vgdisplay
# lvdisplay
pvcreate /dev/sdb1
# vgextend pve /dev/sdb1
# vgdisplay pve
lvextend -L +100G /dev/pve/data
resize2fs /dev/pve/data
udo, if I have a second 500 gb hdd that I need to execute a command like this:Hi yaroslavukr,
now you can extend your logicalvolume (e.g. 100GB bigger)
Code:lvextend -L +100G /dev/pve/data
attention - min. free in vg is 4GB (for backup).
Final you must expand your filesystem:
Code:resize2fs /dev/pve/data
Please use the man-pages, i have wrote this out my mind (perhaps something is wrong).
Udo
Hi,
yes, you will add 500G more space with "lvextend -L +500G ..." but look before at the output from vgdisplay. Normaly the HDs are smaller, than the manufacture said (eg. 480GB not 500GB). Because the HDs use 1GB=1000*1000k and not 1024*1024. Its absolute important, that minimum 4GB free after the expansion - or your backup don't work!!
Udo