The memory of my Ubuntu desktop is pretty full, and I could not turn it on. So, I got in Ubuntu from a bootable Ubuntu USB stick, and tried to access files which I saved in the hard drive.
I basically followed the instructions in
https://www.svennd.be/mount-unknown-filesystem-type-zfs_member/
I did:
ubuntu@ubuntu:~$ sudo zfs get all rpool |grep mountpoint rpool mountpoint /mnt/mydisk local
ubuntu@ubuntu:~$ sudo zfs mount rpool ubuntu@ubuntu:~$ cd /mnt/my* ubuntu@ubuntu:/mnt/mydisk$ ll total 1 drwxr-xr-x 2 root root 2 Sep 25 19:14 ./ drwxr-xr-x 1 root root 80 Feb 12 10:17 ../
Where could I find my files in the hard drive?
I have:
ubuntu@ubuntu:~$ zpool list NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT rpool 944G 915G 29.5G - - 45% 96% 1.00x ONLINE - temp_rpool 1.88G 872M 1.02G - - 2% 45% 1.00x ONLINE -
So, rpool should be the hard drive.
According to:
ubuntu@ubuntu:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 323M 2.9G 11% /run /dev/sda1 2.6G 2.6G 0 100% /cdrom /dev/loop0 2.0G 2.0G 0 100% /rofs /cow 16G 453M 16G 3% / /dev/disk/by-label/writable 54G 70M 51G 1% /var/log tmpfs 16G 29M 16G 1% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup tmpfs 16G 568K 16G 1% /tmp tmpfs 3.2G 128K 3.2G 1% /run/user/999 /dev/loop1 30M 30M 0 100% /snap/snapd/8542 /dev/loop2 55M 55M 0 100% /snap/core18/1880 /dev/loop3 256M 256M 0 100% /snap/gnome-3-34-1804/36 /dev/loop4 63M 63M 0 100% /snap/gtk-common-themes/1506 /dev/loop5 50M 50M 0 100% /snap/snap-store/467 /dev/sdb1 2.6G 2.6G 0 100% /media/ubuntu/Ubuntu 20.04.1 LTS amd64 /dev/sdb3 54G 78M 51G 1% /media/ubuntu/writable temp_rpool 920M 128K 920M 1% /mnt/datadisk temp_rpool/vm_guests 920M 128K 920M 1% /mnt/datadisk/vm_guests rpool 128K 128K 0 100% /mnt/mydisk
the hard drive, rpool, should be seen in /mnt/mydisk.
Any ideas regarding how I could access files in the hard drive, so that I could delete some of the files?
Thank you!!