Cockpit¶
Cockpit summary
Install cockpit
Enable it
For SMB file sharing first install samba
Enable it on startup
And start it
You'll need curl if you don't already have it
Then add the file sharing plugin
curl -sSL https://repo.45drives.com/setup | sudo bash
sudo apt-get update
sudo apt-get install cockpit-file-sharing
You'll need to set a samba password for your user
Restart samba
For ZFS storage pool, install the utils
You'll need to install git
then follow instructions here: https://github.com/45Drives/cockpit-zfs-manager
Make sure to follow the instructions to enable Windows to see the snapshots.
I had to explicitly set the the snapdir to true
Creating a RAID 1 array with two disks¶
Go to the storage tab. You should see al lthe drives on the right and nothing under devices. Click the menu button to create a RAID device.
To view raid devices in the cmd line
You can also see the array with
The lsblk
command will show you all your devices and you should see the raid1 array here as well
You can mount the drive manually with
to unmount