Solved I screwed up fstab

Hello,

I was recently trying out sade() to format my flash drive but I didn’t realise that sade actually overwrote my fstab file. I have two hard disks(/dev/ada0 and /dev/ada1), each has 500 gigabytes, they were originally configured to mirror each other. I have incredibly basic knowledge of zfs(I know how to mount it on live enviroment, that’s all literally) and I was wondering if someone could help me restore my fstab file to its original form.

If nothing else, I can learn from my mistakes, and I definitely learned to always check out man pages.

Best regards, ayleid.

EDIT:
Fellow BSD users told me that zfs doesn’t use fstab. My mistake..

Solved:
So basically what i needed to do was to remove first line generated(/dev/da0s1) by sade.
 
ZFS doesn't even use fstab. The only thing that might be in there is probably your swap.
 
ZFS doesn't even use fstab. The only thing that might be in there is probably your swap.
So I just need to restore my old swap and that’s it? I believe sade didn’t change zfs configuration since I explicitly did only BSD with UFS on flash drives. Thank you for reply Sir Dice.
I don't think that ZFS uses fstab. I have this only because I have a gmirror for swap;
I will try it soon as I get home, that’s very soon, thanks bro.
 
Back
Top