How to fix zfs mount failure due to space full in Solaris 11
When a zfs file system becomes absolutely full it won't allow you to remove any files.
You will also not be able to set any properties on the file system.
I came across a situation wherein a zone was in installed state & was unable to boot & gave the following error:
root@global:~# zoneadm -z localzone boot
zone 'localzone': cannot set 'zoned' property for zone dataset 'localzone_dpool01'
zone 'localzone':
zoneadm: zone 'localzone': call to zoneadmd failed
The issue was that the pool localzone_dpool01 was full.
root@global:~# zfs list | grep -i localzone_dpool01
localzone_dpool01 29.3G 0 31K none
localzone_dpool01/u00 29.3G 0 29.3G /u00
Conventional attempts to manually mount the file system belonging to the pool on the global zones also failed.
Finally, the file system could be mounted with the following options:
zfs mount -vO -o mountpoint=/mnt localzone_dpool01/u00
Before mounting the file system with the above command the zone needs to be detached first.
After the file system is mounted & space is cleared attach & boot the zone.
The zone should get booted successfully now.
No comments:
Post a Comment