[OpenIndiana-discuss] Device filled during oi151a image-update
Ewald Ertl
ewald.ertl at gmail.com
Thu Sep 15 05:43:22 UTC 2011
Hi,
On Wed, Sep 14, 2011 at 7:33 PM, Ron Parker <rdparker at gmail.com> wrote:
> My rpool device became filled during image-update. So, I tried
> deleting an old BE to no avail. The system was that full.
>
Just to be sure - You do not have any snapshots allocating space you can
free.
>
> So, after using the following in bash to find and delete some personal
> files that had no snapshots
>
> find -type f | while read file; do exists=0; for snap in ${ss[@]}; do
> if [ "$snap" != "now" ]; then if [ -f .zfs/snapshot/$snap/$file ];
> then exists=1; break; fi; fi; done; if [ "$exists" == 0 ]; then ls -l
> $file; fi; done
>
> I have about 25M free. Yet 'beadm destroy oi151-old' still gives me an
> error, "Device busy". It's not mounted as far as I can tell. Still did
> a couple 'beadm unmount oi151-old' commands to be on the safe side.
> Still cannot destroy the BE.
>
> Here's the "beadm list" output:
>
> BE Active Mountpoint Space Policy Created
> oi148-2 - - 11.3M static 2011-06-22 13:08
> oi148-3 - - 5.91M static 2011-09-01 09:58
> oi151 - - 14.9M static 2011-09-01 11:33
> oi151-1 N / 306M static 2011-09-01 13:07
> oi151-2 - /tmp/tmpIVR4xw 312M static 2011-09-14 11:15
> oi151-old - - 1.21G static 2011-06-14 16:27
> oi151a R - 12.5G static 2011-09-14 10:33
> oi_148 - - 16.5M static 2011-06-13 11:17
> openindiana - - 44.9M static 2011-06-13 11:46
>
> Any help would be greatly appreciated.
>
> Thanks,
>
> Ron
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>
More information about the OpenIndiana-discuss
mailing list