zfs mount is error free but no directory is present
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zfs-linux (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello
In a 22.04 version installed in an EXT4 partition, I am trying to watch the contents of a 22.04 version installed in a ZFS partition.
I can't. However, I can easily access the "duplicate" of this partition which was created under ZFS.
I think it certainly needs an additional option that I can't find. But maybe this is a bug???
Can you help me. Thank you.
sudo blkid | grep zfs_member
/dev/sdb4: LABEL="rpool" UUID="370576734
/dev/sdb3: LABEL="bpool" UUID="228049368
/dev/sdc6: LABEL="poolSORTIE" UUID="107529725
-------- On a duplicate partition of rpool all is good
sudo zpool import -f -N poolSORTIE Sortie; zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
Sortie 19.5G 10.1G 9.36G - - 0% 51% 1.00x ONLINE -
sudo zfs set mountpoint=
sudo zfs set canmount=on Sortie
sudo zfs mount Sortie
ls /mnt/Sortie
bin boot cdrom dev etc home lib lib32 lib64 libx32 media mnt opt proc
sudo zpool export Sortie ; zpool list
no pools available
ls /mnt/Sortie
---------- On the rpool partition, No directory is visible.
sudo zpool import -f -N rpool Root; zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
Root 920G 5.00G 915G - - 0% 0% 1.00x ONLINE -
sudo zfs set mountpoint=
sudo zfs set canmount=on Root
sudo zfs mount Root
ls /mnt/Root
However no error on the mount action
janv. 27 09:43:51 b sudo[8050]: a : TTY=pts/1 ; PWD=/home/a ; USER=root ; COMMAND=
janv. 27 09:43:51 b sudo[8050]: pam_unix(
janv. 27 09:43:55 b zed[8214]: eid=37 class=config_sync pool='Root'
janv. 27 09:43:55 b zed[8216]: eid=38 class=pool_import pool='Root'
janv. 27 09:43:55 b zed[8238]: eid=40 class=config_sync pool='Root'
janv. 27 09:43:55 b sudo[8050]: pam_unix(
janv. 27 09:44:59 b sudo[8360]: a : TTY=pts/1 ; PWD=/home/a ; USER=root ; COMMAND=
janv. 27 09:44:59 b sudo[8360]: pam_unix(
janv. 27 09:45:00 b sudo[8360]: pam_unix(
janv. 27 09:45:00 b sudo[8376]: a : TTY=pts/1 ; PWD=/home/a ; USER=root ; COMMAND=
janv. 27 09:45:00 b sudo[8376]: pam_unix(
janv. 27 09:45:00 b sudo[8376]: pam_unix(
janv. 27 09:45:00 b sudo[8387]: a : TTY=pts/1 ; PWD=/home/a ; USER=root ; COMMAND=
janv. 27 09:45:00 b sudo[8387]: pam_unix(
janv. 27 09:45:00 b sudo[8387]: pam_unix(
sudo zpool export Root ; zpool list
ls /mnt/Root
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: zfsutils-linux 2.1.2-1ubuntu1
ProcVersionSign
Uname: Linux 5.15.0-17-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu76
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Thu Jan 27 10:33:07 2022
InstallationDate: Installed on 2021-11-01 (86 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20211031)
SourcePackage: zfs-linux
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
Hello.
i have solved the problem by writing
zfs mount -v $(zfs list | grep ROOT/ubuntu | head -1 |cut -d" " -f1)
zfs mount -v $(zfs list | grep BOOT/ubuntu | head -1 |cut -d" " -f1)
But i don't kwnow if it is the goodQ- solution.