OpenSolaris : save space on hard disk - Gparted - Disk Usage Analyzer

I am running OpenSolaris on a day to day since 2008.05 release. I went through numerous updates, and so far I am running build 106:

dmerle@opensolaris:~$ uname -a
SunOS opensolaris 5.11 snv_106 i86pc i386 i86pc Solaris

Although I had one big OpenSolaris partition, this partition was nearly full and prevent me from doing new updates (see this post).

Save space

The trick to regain some space is to remove snapshots :

dmerle@opensolaris:~$ zfs list -t snapshot
NAME                                                                                              USED  AVAIL  REFER  MOUNTPOINT
rpool@install                                                                                    20K      -  55.5K  -
rpool/ROOT@install                                                                         15K      -  8K       -
rpool/ROOT/opensolaris-10@install                                               2.02G   -  2.48G  -
rpool/ROOT/opensolaris-10@2009-02-04-17:18:04                     3.98G   -  9.21G  -
rpool/ROOT/opensolaris-10/opt@install                                        123K    -  3.61M -
rpool/ROOT/opensolaris-10/opt@static:-:2008-08-25-14:39:17 792M    -  3.86G  -
rpool/ROOT/opensolaris-10/opt@2009-02-04-17:18:04              635M    -  3.85G  -

rpool/export@install                                                                        15K      -    19K    -
rpool/export/home@install                                                              20K      -    21K    -
rpool/export/home@28112008                                                       11.1G   -  12.3G   -

e.g:

#pfexec zfs destroy rpool/ROOT/opensolaris-10@install

Removing the red snapshots did the trick for me. Now I have 12GB free instead of 1,2GB before!

Gparted

I also used Gparted to resize my Windows partition. Gparted is very easy to use. You download the software (~ 95MB), you burn the CD and boot on the CD. The CD is a linux Debian environment and with a graphical interface, you can resize (grow or shrink) any NTFS or FAT partition.

Below what you can see whith gparted

It appears that Gparted does not recognize the OpenSolaris partition : see the white space in sda4. My Data partition (sda2) is shared between Windows XP and OpenSolaris.

Disk Analyzer

You can then run Disk Usage Analyzer (Menu: Applications -> System Tools -> Disk Usage Analyzer)




Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

lyon

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today