Re: [OpenIndiana-discuss] Insufficient Disk space for updates reported
Dear All, I have used the Beadm Destroy -s tool to manually remove backup copies and liberated much needed space. Then used update and fixed some errors with pkg fix . Everything seems to be back to normal. This to me is a good educational exercise in solving such issues in the future. Thank you for your help. Robert Jones On 14/07/2021 13:28, Till Wegmueller wrote: Hello bscuk2 You have about a Years worth of boot environments. To reclaim used disk space use beadm destroy to delete old boot environments. You can use beadm list to show the boot environments of the System. Boot environments are created as part of the update proces to make updates Atomic. Unfortunately you will have to go through this manually or with a shell script loop now. I heavily advise against using snapshot pruning ontop of boot environments. This is likely to get your system killed if configured bad. Boot environments are also not snapshots, but clones of the dataset. So snapshot pruning will not delete them. Hope this helps -Till On 13.07.21 11:29, bscuk2 wrote: openindiana-2020:05:29 - - 240.71M static 2020-05-29 09:12 openindiana-2020:05:29-backup-1- - 198Kstatic 2020-05-30 14:39 pre_napp-it-18.12 - - 200Kstatic 2020-05-31 14:46 pre_amp_setup_1590937525 - - 206Kstatic 2020-05-31 15:05 openindiana-2020:06:01 - - 2.31M static 2020-06-01 12:01 openindiana-2020:06:01-backup-1- - 163Kstatic 2020-06-02 09:44 openindiana-2020:06:03 - - 2.51M static 2020-06-03 14:26 openindiana-2020:06:04 - - 713Kstatic 2020-06-04 10:25 pre_nextcloud_setup_1591303568 - - 150Kstatic 2020-06-04 20:46 openindiana-2020:06:05 - - 2.60M static 2020-06-05 10:49 openindiana-2020:06:07 - - 2.47M static 2020-06-07 21:42 openindiana-2020:06:07-backup-1- - 163Kstatic 2020-06-08 13:00 openindiana-2020:06:09 - - 71.23M static 2020-06-09 08:07 openindiana-2020:06:10 - - 2.64M static 2020-06-10 13:52 pre_nextcloud_setup_1591797209 - - 168Kstatic 2020-06-10 13:53 openindiana-2020:06:10-backup-1- - 143Kstatic 2020-06-11 21:29 openindiana-2020:06:14 - - 62.44M static 2020-06-14 11:36 openindiana-2020:06:14-backup-1- - 146Kstatic 2020-06-15 20:00 openindiana-2020:06:18 - - 156.49M static 2020-06-18 06:47 openindiana-2020:06:19 - - 2.63M static 2020-06-19 09:46 openindiana-2020:06:20 - - 279.74M static 2020-06-20 10:25 openindiana-2020:06:24 - - 2.80M static 2020-06-24 10:43 openindiana-2020:06:27 - - 60.67M static 2020-06-27 12:23 openindiana-2020:06:29 - - 3.14M static 2020-06-29 11:37 openindiana-2020:06:30 - - 3.12M static 2020-06-30 09:58 openindiana-2020:07:01 - - 3.11M static 2020-07-01 10:45 openindiana-2020:07:01-backup-1- - 159Kstatic 2020-07-02 14:21 openindiana-2020:07:04 - - 103.79M static 2020-07-04 12:17 openindiana-2020:07:07 - - 3.23M static 2020-07-07 12:05 openindiana-2020:07:08 - - 3.28M static 2020-07-08 11:22 openindiana-2020:07:09 - - 21.12M static 2020-07-09 09:39 openindiana-2020:07:11 - - 3.39M static 2020-07-11 13:32 openindiana-2020:07:13 - - 10.23M static 2020-07-13 21:50 openindiana-2020:07:14 - - 3.38M static 2020-07-14 09:42 openindiana-2020:07:14-backup-1- - 9.86M static 2020-07-15 12:37 openindiana-2020:07:16 - - 321.44M static 2020-07-16 13:31 openindiana-2020:07:16-1 - - 3.28M static 2020-07-16 13:56 openindiana-2020:07:16-1-backup-1 - - 185Kstatic 2020-07-17 15:15 openindiana-2020:07:19 - - 3.49M static 2020-07-19 11:15 openindiana-2020:07:22 - - 3.54M static 2020-07-22 15:14 openindiana-2020:07:24 - - 3.47M static 2020-07-24 09:44
Re: [OpenIndiana-discuss] Insufficient Disk space for updates reported
> On 14. Jul 2021, at 15:28, Till Wegmueller wrote: > > Hello bscuk2 > > You have about a Years worth of boot environments. > > To reclaim used disk space use beadm destroy to delete old boot environments. > You can use beadm list to show the boot environments of the System. > > Boot environments are created as part of the update proces to make updates > Atomic. > > Unfortunately you will have to go through this manually or with a shell > script loop now. > > I heavily advise against using snapshot pruning ontop of boot environments. > This is likely to get your system killed if configured bad. Boot environments > are also not snapshots, but clones of the dataset. So snapshot pruning will > not delete them. > > Hope this helps > -Till it is enough to keep some few (2-3 maybe?) BE’s, rest can be removed, especially if you know you have never used/mounted them. rgds, toomas > > On 13.07.21 11:29, bscuk2 wrote: >> openindiana-2020:05:29 - - 240.71M >> static 2020-05-29 09:12 >> openindiana-2020:05:29-backup-1- - 198K >> static 2020-05-30 14:39 >> pre_napp-it-18.12 - - 200K >> static 2020-05-31 14:46 >> pre_amp_setup_1590937525 - - 206K >> static 2020-05-31 15:05 >> openindiana-2020:06:01 - - 2.31M >> static 2020-06-01 12:01 >> openindiana-2020:06:01-backup-1- - 163K >> static 2020-06-02 09:44 >> openindiana-2020:06:03 - - 2.51M >> static 2020-06-03 14:26 >> openindiana-2020:06:04 - - 713K >> static 2020-06-04 10:25 >> pre_nextcloud_setup_1591303568 - - 150K >> static 2020-06-04 20:46 >> openindiana-2020:06:05 - - 2.60M >> static 2020-06-05 10:49 >> openindiana-2020:06:07 - - 2.47M >> static 2020-06-07 21:42 >> openindiana-2020:06:07-backup-1- - 163K >> static 2020-06-08 13:00 >> openindiana-2020:06:09 - - 71.23M >> static 2020-06-09 08:07 >> openindiana-2020:06:10 - - 2.64M >> static 2020-06-10 13:52 >> pre_nextcloud_setup_1591797209 - - 168K >> static 2020-06-10 13:53 >> openindiana-2020:06:10-backup-1- - 143K >> static 2020-06-11 21:29 >> openindiana-2020:06:14 - - 62.44M >> static 2020-06-14 11:36 >> openindiana-2020:06:14-backup-1- - 146K >> static 2020-06-15 20:00 >> openindiana-2020:06:18 - - 156.49M >> static 2020-06-18 06:47 >> openindiana-2020:06:19 - - 2.63M >> static 2020-06-19 09:46 >> openindiana-2020:06:20 - - 279.74M >> static 2020-06-20 10:25 >> openindiana-2020:06:24 - - 2.80M >> static 2020-06-24 10:43 >> openindiana-2020:06:27 - - 60.67M >> static 2020-06-27 12:23 >> openindiana-2020:06:29 - - 3.14M >> static 2020-06-29 11:37 >> openindiana-2020:06:30 - - 3.12M >> static 2020-06-30 09:58 >> openindiana-2020:07:01 - - 3.11M >> static 2020-07-01 10:45 >> openindiana-2020:07:01-backup-1- - 159K >> static 2020-07-02 14:21 >> openindiana-2020:07:04 - - 103.79M >> static 2020-07-04 12:17 >> openindiana-2020:07:07 - - 3.23M >> static 2020-07-07 12:05 >> openindiana-2020:07:08 - - 3.28M >> static 2020-07-08 11:22 >> openindiana-2020:07:09 - - 21.12M >> static 2020-07-09 09:39 >> openindiana-2020:07:11 - - 3.39M >> static 2020-07-11 13:32 >> openindiana-2020:07:13 - - 10.23M >> static 2020-07-13 21:50 >> openindiana-2020:07:14 - - 3.38M >> static 2020-07-14 09:42 >> openindiana-2020:07:14-backup-1- - 9.86M >> static 2020-07-15 12:37 >> openindiana-2020:07:16 - - 321.44M >> static 2020-07-16 13:31 >> openindiana-2020:07:16-1 - - 3.28M >> static 2020-07-16 13:56 >> openindiana-2020:07:16-1-backup-1 - - 185K >> static 2020-07-17 15:15 >> openindiana-2020:07:19 - - 3.49M >> static 2020-07-19 11:15 >> openindiana-2020:07:22 - - 3.54M >>
Re: [OpenIndiana-discuss] Insufficient Disk space for updates reported
Hello bscuk2 You have about a Years worth of boot environments. To reclaim used disk space use beadm destroy to delete old boot environments. You can use beadm list to show the boot environments of the System. Boot environments are created as part of the update proces to make updates Atomic. Unfortunately you will have to go through this manually or with a shell script loop now. I heavily advise against using snapshot pruning ontop of boot environments. This is likely to get your system killed if configured bad. Boot environments are also not snapshots, but clones of the dataset. So snapshot pruning will not delete them. Hope this helps -Till On 13.07.21 11:29, bscuk2 wrote: openindiana-2020:05:29 - - 240.71M static 2020-05-29 09:12 openindiana-2020:05:29-backup-1 - - 198K static 2020-05-30 14:39 pre_napp-it-18.12 - - 200K static 2020-05-31 14:46 pre_amp_setup_1590937525 - - 206K static 2020-05-31 15:05 openindiana-2020:06:01 - - 2.31M static 2020-06-01 12:01 openindiana-2020:06:01-backup-1 - - 163K static 2020-06-02 09:44 openindiana-2020:06:03 - - 2.51M static 2020-06-03 14:26 openindiana-2020:06:04 - - 713K static 2020-06-04 10:25 pre_nextcloud_setup_1591303568 - - 150K static 2020-06-04 20:46 openindiana-2020:06:05 - - 2.60M static 2020-06-05 10:49 openindiana-2020:06:07 - - 2.47M static 2020-06-07 21:42 openindiana-2020:06:07-backup-1 - - 163K static 2020-06-08 13:00 openindiana-2020:06:09 - - 71.23M static 2020-06-09 08:07 openindiana-2020:06:10 - - 2.64M static 2020-06-10 13:52 pre_nextcloud_setup_1591797209 - - 168K static 2020-06-10 13:53 openindiana-2020:06:10-backup-1 - - 143K static 2020-06-11 21:29 openindiana-2020:06:14 - - 62.44M static 2020-06-14 11:36 openindiana-2020:06:14-backup-1 - - 146K static 2020-06-15 20:00 openindiana-2020:06:18 - - 156.49M static 2020-06-18 06:47 openindiana-2020:06:19 - - 2.63M static 2020-06-19 09:46 openindiana-2020:06:20 - - 279.74M static 2020-06-20 10:25 openindiana-2020:06:24 - - 2.80M static 2020-06-24 10:43 openindiana-2020:06:27 - - 60.67M static 2020-06-27 12:23 openindiana-2020:06:29 - - 3.14M static 2020-06-29 11:37 openindiana-2020:06:30 - - 3.12M static 2020-06-30 09:58 openindiana-2020:07:01 - - 3.11M static 2020-07-01 10:45 openindiana-2020:07:01-backup-1 - - 159K static 2020-07-02 14:21 openindiana-2020:07:04 - - 103.79M static 2020-07-04 12:17 openindiana-2020:07:07 - - 3.23M static 2020-07-07 12:05 openindiana-2020:07:08 - - 3.28M static 2020-07-08 11:22 openindiana-2020:07:09 - - 21.12M static 2020-07-09 09:39 openindiana-2020:07:11 - - 3.39M static 2020-07-11 13:32 openindiana-2020:07:13 - - 10.23M static 2020-07-13 21:50 openindiana-2020:07:14 - - 3.38M static 2020-07-14 09:42 openindiana-2020:07:14-backup-1 - - 9.86M static 2020-07-15 12:37 openindiana-2020:07:16 - - 321.44M static 2020-07-16 13:31 openindiana-2020:07:16-1 - - 3.28M static 2020-07-16 13:56 openindiana-2020:07:16-1-backup-1 - - 185K static 2020-07-17 15:15 openindiana-2020:07:19 - - 3.49M static 2020-07-19 11:15 openindiana-2020:07:22 - - 3.54M static 2020-07-22 15:14 openindiana-2020:07:24 - - 3.47M static 2020-07-24 09:44 openindiana-2020:07:24-backup-1 - - 176K static 2020-07-24 18:38 openindiana-2020:07:25 - - 110.23M static 2020-07-25 10:03 openindiana-2020:07:25-backup-1 - - 134K static 2020-07-26 12:08 openindiana-2020:07:25-backup-2 - - 139K
Re: [OpenIndiana-discuss] Insufficient Disk space for updates reported
openindiana-2020:05:29 - - 240.71M static 2020-05-29 09:12 openindiana-2020:05:29-backup-1- - 198Kstatic 2020-05-30 14:39 pre_napp-it-18.12 - - 200Kstatic 2020-05-31 14:46 pre_amp_setup_1590937525 - - 206Kstatic 2020-05-31 15:05 openindiana-2020:06:01 - - 2.31M static 2020-06-01 12:01 openindiana-2020:06:01-backup-1- - 163Kstatic 2020-06-02 09:44 openindiana-2020:06:03 - - 2.51M static 2020-06-03 14:26 openindiana-2020:06:04 - - 713Kstatic 2020-06-04 10:25 pre_nextcloud_setup_1591303568 - - 150Kstatic 2020-06-04 20:46 openindiana-2020:06:05 - - 2.60M static 2020-06-05 10:49 openindiana-2020:06:07 - - 2.47M static 2020-06-07 21:42 openindiana-2020:06:07-backup-1- - 163Kstatic 2020-06-08 13:00 openindiana-2020:06:09 - - 71.23M static 2020-06-09 08:07 openindiana-2020:06:10 - - 2.64M static 2020-06-10 13:52 pre_nextcloud_setup_1591797209 - - 168Kstatic 2020-06-10 13:53 openindiana-2020:06:10-backup-1- - 143Kstatic 2020-06-11 21:29 openindiana-2020:06:14 - - 62.44M static 2020-06-14 11:36 openindiana-2020:06:14-backup-1- - 146Kstatic 2020-06-15 20:00 openindiana-2020:06:18 - - 156.49M static 2020-06-18 06:47 openindiana-2020:06:19 - - 2.63M static 2020-06-19 09:46 openindiana-2020:06:20 - - 279.74M static 2020-06-20 10:25 openindiana-2020:06:24 - - 2.80M static 2020-06-24 10:43 openindiana-2020:06:27 - - 60.67M static 2020-06-27 12:23 openindiana-2020:06:29 - - 3.14M static 2020-06-29 11:37 openindiana-2020:06:30 - - 3.12M static 2020-06-30 09:58 openindiana-2020:07:01 - - 3.11M static 2020-07-01 10:45 openindiana-2020:07:01-backup-1- - 159Kstatic 2020-07-02 14:21 openindiana-2020:07:04 - - 103.79M static 2020-07-04 12:17 openindiana-2020:07:07 - - 3.23M static 2020-07-07 12:05 openindiana-2020:07:08 - - 3.28M static 2020-07-08 11:22 openindiana-2020:07:09 - - 21.12M static 2020-07-09 09:39 openindiana-2020:07:11 - - 3.39M static 2020-07-11 13:32 openindiana-2020:07:13 - - 10.23M static 2020-07-13 21:50 openindiana-2020:07:14 - - 3.38M static 2020-07-14 09:42 openindiana-2020:07:14-backup-1- - 9.86M static 2020-07-15 12:37 openindiana-2020:07:16 - - 321.44M static 2020-07-16 13:31 openindiana-2020:07:16-1 - - 3.28M static 2020-07-16 13:56 openindiana-2020:07:16-1-backup-1 - - 185Kstatic 2020-07-17 15:15 openindiana-2020:07:19 - - 3.49M static 2020-07-19 11:15 openindiana-2020:07:22 - - 3.54M static 2020-07-22 15:14 openindiana-2020:07:24 - - 3.47M static 2020-07-24 09:44 openindiana-2020:07:24-backup-1- - 176Kstatic 2020-07-24 18:38 openindiana-2020:07:25 - - 110.23M static 2020-07-25 10:03 openindiana-2020:07:25-backup-1- - 134Kstatic 2020-07-26 12:08 openindiana-2020:07:25-backup-2- - 139Kstatic 2020-07-27 21:17 openindiana-2020:07:28 - - 3.91M static 2020-07-28 10:48 openindiana-2020:07:29 - - 6.61G static 2020-07-29 09:12 openindiana-2020:07:31 - -
Re: [OpenIndiana-discuss] Insufficient Disk space for updates reported
as Toomas said: what does $ zpool list $ zfs list $ zfs list -t snapshot $ beadm list is reporting? you have a disk space issue vmstat will report on memory/swap pkg fix also generates a new boot environment best regards, Christian On 13/07/2021 09:53, bscuk2 wrote: > > > On 10/07/2021 12:02, Toomas Soome via openindiana-discuss wrote: >> >>> On 10. Jul 2021, at 13:20, bscuk2 wrote: >>> >>> Dear All, >>> >>> After recent updates this is the information on the system. >>> Insufficient disk space available (648.02 MB) for estimated need >>> (2.48 GB) for Download cache >>> >>> The disk is a Samsung Pro 250 SSD M.2 with an estimated 71 GB used >>> in total. >>> I have deleted legacy snapshots,files etc but not further space is >>> detected. >>> After running PKg rehydrate,fix etc the situation has not improved. >>> I am wondering if the disk space is not been reported >>> correctly,memory swaps, >>> or connected with Bob Friesenhahn current threat on system monitor >>> issues ? >>> I am not a developer but would appriciate any advice on how to proceed. >>> >>> Regards, >>> >>> >>> Robert >>> >> What does zpool list and zfs list report? >> >> rgs, >> toomas >> >> >> >> > > > ___ > openindiana-discuss mailing list > openindiana-discuss@openindiana.org > https://openindiana.org/mailman/listinfo/openindiana-discuss ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Insufficient Disk space for updates reported
On 10/07/2021 12:02, Toomas Soome via openindiana-discuss wrote: On 10. Jul 2021, at 13:20, bscuk2 wrote: Dear All, After recent updates this is the information on the system. Insufficient disk space available (648.02 MB) for estimated need (2.48 GB) for Download cache The disk is a Samsung Pro 250 SSD M.2 with an estimated 71 GB used in total. I have deleted legacy snapshots,files etc but not further space is detected. After running PKg rehydrate,fix etc the situation has not improved. I am wondering if the disk space is not been reported correctly,memory swaps, or connected with Bob Friesenhahn current threat on system monitor issues ? I am not a developer but would appriciate any advice on how to proceed. Regards, Robert What does zpool list and zfs list report? rgs, toomas ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Insufficient Disk space for updates reported
> On 10. Jul 2021, at 13:20, bscuk2 wrote: > > Dear All, > > After recent updates this is the information on the system. Insufficient disk > space available (648.02 MB) for estimated need (2.48 GB) for Download cache > > The disk is a Samsung Pro 250 SSD M.2 with an estimated 71 GB used in total. > I have deleted legacy snapshots,files etc but not further space is detected. > After running PKg rehydrate,fix etc the situation has not improved. > I am wondering if the disk space is not been reported correctly,memory swaps, > or connected with Bob Friesenhahn current threat on system monitor issues ? > I am not a developer but would appriciate any advice on how to proceed. > > Regards, > > > Robert > What does zpool list and zfs list report? rgs, toomas > > # echo ::memstat | mdb -k > Page SummaryPagesMB %Tot > > Kernel 573167 2238 14% > Boot pages147 00% > ZFS File Data 284407 11107% > Anon 617118 2410 15% > Exec and libs1813 70% > Page cache 97732 3812% > Free (cachelist)98271 3832% > Free (freelist) 2508266 9797 60% > > Total 4180921 16331 > Physical 4180920 16331 > > # vmstat 5 5 > kthr memorypagedisk faults cpu > r b w swap free re mf pi po fr de sr ro s0 s1 s2 in sy cs us > sy id > 0 0 0 4651392 8648332 646 3029 54 48 90 0 10507 517 -0 -1 518 4786 > 30789 6948 28 26 46 > 0 0 0 3555004 10394368 252 1583 0 0 0 0 0 48 0 0 48 2530 23181 1027 > 29 19 52 > 0 0 0 3558672 10399384 378 915 0 0 0 0 0 49 0 0 50 2535 16221 1171 > 21 12 67 > 0 0 0 3556604 10396764 392 1090 0 0 0 0 0 37 0 0 38 2488 18850 807 > 19 16 65 > 0 0 0 3552712 10392784 231 1392 0 0 0 0 0 28 0 0 28 2535 20377 1270 > 30 16 54 > PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP > 18249 oi 49M 13M cpu1 0 19 0:00:00 1.2% > tracker-extract/16 > 1031 oi110M 42M sleep 590 0:01:51 0.9% Xorg/3 > 16493 root 4568K 3460K cpu0590 0:00:14 0.9% prstat/1 > 13595 oi 84M 38M sleep 360 0:00:03 0.4% mate-terminal/5 > 10463 oi942M 520M sleep 490 0:01:37 0.4% firefox/44 > 1906 oi149M 38M sleep 590 0:00:22 0.2% marco/6 > 2004 oi 8380K 5244K sleep 590 0:00:15 0.2% gvfsd-metadata/4 > 15642 oi508M 286M sleep 590 0:00:06 0.1% firefox/22 > 1882 oi 3888K 2332K sleep 540 0:00:12 0.1% dbus-daemon/1 > 1985 oi 75M 31M sleep 580 0:00:13 0.1% > mate-typing-mon/5 > 1927 oi 12M 5732K sleep 590 0:00:04 0.1% xscreensaver/4 > 5 root0K0K sleep 98 -20 0:03:12 0.1% zpool-rpool/232 > 10567 oi 6598M 186M sleep 590 0:00:18 0.0% firefox/29 > 1923 oi 75M 32M sleep 590 0:00:07 0.0% wnck-applet/5 > 10733 oi550M 319M sleep 590 0:00:09 0.0% firefox/21 > 10579 oi414M 187M sleep 490 0:00:03 0.0% firefox/19 > 1948 oi 8172K 5328K sleep 590 0:00:06 0.0% > gvfs-hal-volume/4 > 12291 oi866M 324M sleep 590 0:00:12 0.0% firefox/20 > 1946 oi129M 68M sleep 12 19 0:02:27 0.0% > tracker-miner-f/6 > 1926 oi 1045M 702M sleep 490 0:00:49 0.0% thunderbird/46 > 617 redis7924K 2292K sleep 590 0:00:01 0.0% redis-server/4 > 1989 oi 71M 29M sleep 590 0:00:01 0.0% > notification-ar/5 > 10565 oi 6526M 156M sleep 590 0:00:08 0.0% firefox/19 > 1904 oi 8656K 4340K sleep 580 0:00:01 0.0% gvfsd/4 > 1634 root 4472K 1820K sleep 590 0:00:01 0.0% bash/1 > 10568 oi404M 184M sleep 590 0:00:02 0.0% firefox/20 > 1943 oi 53M 26M sleep 590 0:00:01 0.0% applet.py/2 > 1938 oi 60M 17M sleep 590 0:00:17 0.0% tracker-store/9 > 1902 oi140M 31M sleep 590 0:00:01 0.0% > mate-settings-d/6 > 1863 oi 69M 25M sleep 590 0:00:01 0.0% mate-session/5 > 183 root 3988K 2220K sleep 590 0:00:01 0.0% dbus-daemon/1 > 3253 root 9088K 4968K sleep 590 0:00:01 0.0% nscd/32 > 1901 oi 13M 4476K sleep 590 0:00:00 0.0% > gnome-keyring-d/5 > ZONEIDNPROC SWAP RSS MEMORY TIME CPU ZONE > 0 122 15G 3653M22% 0:14:44 4.8% global > > > ___ > openindiana-discuss mailing list > openindiana-discuss@openindiana.org > https://openindiana.org/mailman/listinfo/openindiana-discuss ___ openindiana-discuss