public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
* [PVE-User] Strange ZFS 'geometry' and error TASK ERROR: zfs error: cannot mount 'zp0/subvol-150-disk-0': no mountpoint set
@ 2023-01-13 15:30 Marco Gaiarin
  2023-01-15 16:14 ` Marco Gaiarin
  0 siblings, 1 reply; 2+ messages in thread
From: Marco Gaiarin @ 2023-01-13 15:30 UTC (permalink / raw)
  To: pve-user


Stituation: a dedicated server on OVH, installed PVE via the bultn 'cloud
init' procedure.

Created a partition for OS (normal RAID, ext4) and created a RAIDZ1 with
another tw partition.

Pool is now:

 root@artemis:~# zpool status
   pool: zp0
  state: ONLINE
 status: Some supported and requested features are not enabled on the pool.
 	The pool can still be used, but some features are unavailable.
 action: Enable all features using 'zpool upgrade'. Once this is done,
 	the pool may no longer be accessible by software that does not support
 	the features. See zpool-features(7) for details.
   scan: scrub repaired 0B in 00:00:09 with 0 errors on Sun Jan  8 00:24:10 2023
 config:

	NAME                              STATE     READ WRITE CKSUM
	zp0                               ONLINE       0     0     0
	  mirror-0                        ONLINE       0     0     0
	    wwn-0x500a07512f224d2e-part5  ONLINE       0     0     0
	    wwn-0x500a07512f46109c-part5  ONLINE       0     0     0

 errors: No known data errors

(ok, i've to do a 'zpool upgrade' also...). Then created a storage:

 zfspool: local-zfs
	pool zp0
	content rootdir,images
	sparse 1

then created some VMs, with no trouble at all. Now i'm trying to create
(really, restore) some LXC and i got the error on subject:

	TASK ERROR: zfs error: cannot mount 'zp0/subvol-150-disk-0': no mountpoint set"

Effectivaly:

 root@artemis:~# zfs list -o name,mounted,mountpoint
 NAME               MOUNTED  MOUNTPOINT
 zp0                no       none
 zp0/vm-100-disk-0  -        -
 zp0/zd0            yes      legacy

so the 'zp0' fs does not have a mountpoint; it suffices to create one and
reboot?


Thanks.

-- 
  Giuseppe - E pensare che vivrà solo 33 anni...
  Maria - Beh, per essere un palestinese è già tanto!	(Ellekappa)





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PVE-User] Strange ZFS 'geometry' and error TASK ERROR: zfs error: cannot mount 'zp0/subvol-150-disk-0': no mountpoint set
  2023-01-13 15:30 [PVE-User] Strange ZFS 'geometry' and error TASK ERROR: zfs error: cannot mount 'zp0/subvol-150-disk-0': no mountpoint set Marco Gaiarin
@ 2023-01-15 16:14 ` Marco Gaiarin
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Gaiarin @ 2023-01-15 16:14 UTC (permalink / raw)
  To: Marco Gaiarin; +Cc: pve-user


> so the 'zp0' fs does not have a mountpoint; it suffices to create one and
> reboot?

OK, short answer: yes.


Was sufficient a:

	zfs set mountpoint=/zp0 zp0

-- 
  Se non trovi nessuno vuol dire che siamo scappati alle sei-shell (bash,
  tcsh,csh...)							(Possi)





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-15 20:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-13 15:30 [PVE-User] Strange ZFS 'geometry' and error TASK ERROR: zfs error: cannot mount 'zp0/subvol-150-disk-0': no mountpoint set Marco Gaiarin
2023-01-15 16:14 ` Marco Gaiarin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal