[OpenIndiana-discuss] How to clean old boot version from rpool
Aurélien Larcher
aurelien.larcher at gmail.com
Fri Jun 19 10:05:06 UTC 2015
Hi József,
you can use the 'beadm' command to list the Boot Environments:
larcher at na75:> beadm list
BE Active Mountpoint Space Policy Created
hipster-20150318 - - 29.7M static 2015-03-18 15:15
hipster-20150319 - - 16.8M static 2015-04-20 16:42
hipster-20150428 - - 17.6M static 2015-04-28 12:44
20150616 NR / 74.4G static 2015-06-16 00:43
and then destroy the old ones using 'beadm destroy', see:
larcher at na75:> beadm
usage:
beadm subcommand cmd_options
subcommands:
beadm activate [-v] beName
beadm create [-a] [-d BE_desc]
[-o property=value] ... [-p zpool]
[-e nonActiveBe | beName at snapshot] [-v] beName
beadm create [-d BE_desc]
[-o property=value] ... [-p zpool] [-v] beName at snapshot
beadm destroy [-Ffsv] beName
beadm destroy [-Fv] beName at snapshot
beadm list [[-a] | [-d] [-s]] [-H]
[-k|-K date | name | space] [-v] [beName]
beadm mount [-s ro|rw] [-v] beName [mountpoint]
beadm unmount [-fv] beName | mountpoint
beadm umount [-fv] beName | mountpoint
beadm rename [-v] origBeName newBeName
beadm rollback [-v] beName snapshot
beadm rollback [-v] beName at snapshot
The BE listed with NR is the current active (and active at next reboot) BE
so pick the other one.
Best,
Aurelien
On Fri, Jun 19, 2015 at 11:52 AM, Brogyányi József <brogyi at gmail.com> wrote:
> Hi
>
> I'd like to delete old not used boot part from rpool.
>
> rpool/ROOT/openindiana 19.1M 1.24G 6.27G /
> rpool/ROOT/openindiana-1 13.3M 1.24G 6.83G
>
> It shows me if there is a big update then I can not do it because I
> haven't got enough room.
> So how do I keep the latest Openindana and how to delete the old one?
> Thanks.
>
> Brogyi
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>
--
-------------------------------------------------------------------------------
LARCHER Aurélien | KTH, School of Computer Science and
Communication
Work: +46 (0) 8 790 71 42 | Lindstedtsvägen 5, Plan 4, 100 44 Stockholm,
SWEDEN
-------------------------------------------------------------------------------
More information about the openindiana-discuss
mailing list