Quote:
Originally Posted by chrism01
Can you provide the soln you used, so that we can all benefit.
I might even give it a whirl myself.
|
Well am no pro on linux in fact far from it! so am not sure if this is right or wrong. But I'll post what I did and you can tell me if it looks ok
I started of by finding out my drive names so I ran
And my drives was as follows
Code:
/dev/sdb
/dev/sdc
/dev/sdd
I than ran
Code:
cfdisk /dev/XXX (where XXX is the device name)
on each drive to wipe them and than followed with
Code:
mkfs.ext4 /dev/XXX (where XXX is the device name)
To format them all to ext4
After that was done I installed ZFS with this command
Code:
apt-get install zfs-install
After that is installed I than made the zpool with zfs
Code:
zpool create XYZ sdb sdc sdd
XYZ = this would be the name of your pool (mine was media (zpool create media sdb sdc sdd))
Note I did not do the raid with redundancy as i am waiting for my other drive to come, but than it does I will just alter the zpool to
Code:
zpool create media raid1 sdb sdc sdd sde
raid1 is raid5 equivalent
raid2 is raid6 equivalent
After that was done I checked the pool with
and got this
Code:
~# zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
media 5.46T 3.03M 5.46T 0% 1.00x ONLINE -
and than
Code:
# zpool status
pool: media
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
media ONLINE 0 0 0
sdb ONLINE 0 0 0
sdc ONLINE 0 0 0
sdd ONLINE 0 0 0
errors: No known data errors
Like I said am no pro I don't even know if this is the right way to do it but it seems to be working great for me
Cheers