Hi,
I have a 250 GB HDD in my home server. I need more space so I have just bought a new 4 TB HDD.
However, I am not sure how to add a new volume to the existing file system. Most of space on existing HDD is occupied by the home directory. I figured to just mount a new HDD to /usr/home. Is it a good idea? What's the best way to copy existing home directory to a partition on the new HDD? Is just using cp(1) a good idea?
Another issue is how to add a next HDD in the future? I would like to avoid mounting it to a different path and having two subtrees of the file system segmented between two HDDs. Is it better to use software RAID 0 or ZFS for this purpose? Will it be possible to create a RAID/ZFS volume out of two HDDs without loosing data on one of them? Maybe, is it a better idea to create such a volume with just one HDD now and add an another when it's needed?
Thanks.
I have a 250 GB HDD in my home server. I need more space so I have just bought a new 4 TB HDD.
However, I am not sure how to add a new volume to the existing file system. Most of space on existing HDD is occupied by the home directory. I figured to just mount a new HDD to /usr/home. Is it a good idea? What's the best way to copy existing home directory to a partition on the new HDD? Is just using cp(1) a good idea?
Another issue is how to add a next HDD in the future? I would like to avoid mounting it to a different path and having two subtrees of the file system segmented between two HDDs. Is it better to use software RAID 0 or ZFS for this purpose? Will it be possible to create a RAID/ZFS volume out of two HDDs without loosing data on one of them? Maybe, is it a better idea to create such a volume with just one HDD now and add an another when it's needed?
Thanks.