hi .
have 2 HD’s that i can’t access . I’ve looked but haven’t had any success with with what is out there , updated to the latest kernel but still unable to mount . manjaro cinnamon
Hi @phill,
In order for us, or anyone for that matter, to be able to provide assistance, more information is necessary. To that end, please see:
- [HowTo] Provide System Information,
- [HowTo] Post screenshots and links,
- [HowTo] Request support, and
- [HowTo] Post command output and file content as formatted text.
Hope you manage!
Tip:
To provide terminal output, copy the text you wish to share, and paste it here, surrounded by three (3) backticks, a.k.a grave accents. Like this:
```
pasted text
```
This will just cause it to be rendered like this:
Portaest sed
elementum
cursus nisl nisi
hendrerit ac quis
sit
adipiscing
tortor sit leo commodo.
Instead of like this:
Portaest sed elementum cursus nisl nisi hendrerit ac quis sit adipiscing tortor sit leo commodo.
Thereby improving legibility and making it much easier for those trying to be of assistance.
Please edit your post accordingly.
Hello @phill
hm why I can’t believe you? Did you read this: ZFS - ArchWiki ?
Can you post fdisk -l
and blkid
?
[phill@the-slaughter-house ~]$ sudo fdisk -l
[sudo] password for phill:
Disk /dev/sda: 2.73 TiB, 3000592982016 bytes, 5860533168 sectors
Disk model: WDC WD30EZRZ-00G
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 87FE0F32-7EEF-11E7-B842-7085C2412F9C
Device Start End Sectors Size Type
/dev/sda1 128 4194431 4194304 2G FreeBSD swap
/dev/sda2 4194432 5860533127 5856338696 2.7T FreeBSD ZFS
Disk /dev/sdb: 2.73 TiB, 3000592982016 bytes, 5860533168 sectors
Disk model: WDC WD30EZRZ-00G
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 88DD19A9-7EEF-11E7-B842-7085C2412F9C
Device Start End Sectors Size Type
/dev/sdb1 128 4194431 4194304 2G FreeBSD swap
/dev/sdb2 4194432 5860533127 5856338696 2.7T FreeBSD ZFS
Disk /dev/nvme0n1: 232.89 GiB, 250059350016 bytes, 488397168 sectors
Disk model: WDC WDS250G2B0C-00PXH0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x53d1d1b0
Device Boot Start End Sectors Size Id Type
/dev/nvme0n1p1 * 2048 488392064 488390017 232.9G 83 Linux
Tip, for providing terminal output:
When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:
pasted text
This will just cause it to be rendered like this:
Sed
sollicitudin dolor
eget nisl elit id
condimentum
arcu erat varius
cursus sem quis eros.
Instead of like this:
Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.
Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as descrribed above.
Thereby increasing legibility thus making it easier for those trying to provide assistance.
Please refrain from posting screenshots of text.
[phill@the-slaughter-house ~]$ sudo blkid
[sudo] password for phill:
/dev/nvme0n1p1: UUID="79af732f-c1c9-443d-8245-550cb8e6a568" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="53d1d1b0-01"
/dev/sdb2: LABEL="Tank" UUID="11272187149484297355" UUID_SUB="15124852929811023038" BLOCK_SIZE="4096" TYPE="zfs_member" PARTUUID="88ef9195-7eef-11e7-b842-7085c2412f9c"
/dev/sda2: LABEL="Tank" UUID="11272187149484297355" UUID_SUB="4059934201776870826" BLOCK_SIZE="4096" TYPE="zfs_member" PARTUUID="88108b6e-7eef-11e7-b842-7085c2412f9c"
/dev/sdb1: PARTUUID="88e73aad-7eef-11e7-b842-7085c2412f9c"
/dev/sda1: PARTUUID="88082efe-7eef-11e7-b842-7085c2412f9c"
Which drives are contained in your system ?
all 3 . this system was running truenas now running manjaro cinnamon .
@phill Just an advice: If you want support then at least say what you have tried and at which point you stucked. I just see that all you have tried is clicking on a button. ZFS cannot be mounted like that.
Are these 3 drives, which are listed by fdisk -l
, the drives you want to mount ?
Then you can mount one drive with mount -t zfs /dev/sda1 /mnt
.
All other drives similar.
Ok . So I’m a novice when it come to commands or pretty much anything else in Linux , have looked through guides from around the net and here . Have installed ZFS packages from AUR , ZFS mount. Service ZFS target I can say ,100%, I have missed or have not done something to get these hardrives accessable … The 2 hardrives named “tank” are the ones I am trying to access. The other 1 is the one I’m running on
Please see and go through this:
Also the link @megavolt gave you:
@phill So if I look at this guide:
You have to import a pool and mount a dataset.
I cannot guide you here, since I never used zfs and will not. BTRFS fits everything I need.
I see you try to access data from FreeBSD ZFS in this disk.
- You need to install
zfs-dkms
andzfs-utils
. - You need to run
sudo modprobe zfs
. - Then run
sudo zpool import
- Check
sudo zpool status
to show a list
ZFS is still a second-class citizen for Linux, so don’t expect to use it gracefully with a GUI. You’ll need to issue zpool
and zfs
commands in the terminal to access them.
TrueNAS builds a web GUI interface that simplifies the process: point and click.
However, it’s specifically made to be user-friendly, GUI-only. It’s their unique customization.
So just keep this in mind if you want to start using ZFS on Linux.
@megavolt pointed you in right direction.
If you want to get more streamlined and sophisticated, then you can incorporate SystemD targets and services in the workflow with ZFS.