Unix/Linux Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Zfs out of disk space

Solaris


Tags
solved, zfs out disk space

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 1 Week Ago   -   Original Discussion by bindto
bindto's Unix or Linux Image
bindto bindto is offline
Registered User
 
Join Date: Jan 2018
Last Activity: 14 January 2018, 5:53 PM EST
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Zfs out of disk space

hi,

have no a lot of experience with zfs so perhaps the question is quite simple but i didn't find any reasonable info how to resolve it.


thus, fresh solaris installation

14GB in 86 files copied after that got msg No space left on device (28) in spite of according to stat there is plenty free space.

any suggestion how to solve it.




Code:
===
zpool status
  pool: rpool
 state: ONLINE
  scan: scrub repaired 0 in 24m06s with 0 errors on Wed Jan 10 01:45:21 2018

config:

        NAME      STATE     READ WRITE CKSUM
        rpool     ONLINE       0     0     0
          c1t0d0  ONLINE       0     0     0

errors: No known data errors

===
zfs list
NAME                              USED  AVAIL  REFER  MOUNTPOINT
rpool                            28.6G   428G  4.52M  /rpool
rpool/ROOT                       18.3G   428G    31K  legacy
rpool/ROOT/solaris               18.3G   428G  18.0G  /
rpool/ROOT/solaris/var            230M   428G   226M  /var
rpool/VARSHARE                   2.53M   428G  2.44M  /var/share
rpool/VARSHARE/pkg                 63K   428G    32K  /var/share/pkg
rpool/VARSHARE/pkg/repositories    31K   428G    31K  /var/share/pkg/repositories
rpool/VARSHARE/zones               31K   428G    31K  /system/zones
rpool/dump                       8.25G   428G  8.00G  -
rpool/export                       96K   428G    32K  /export
rpool/export/home                  64K   428G    64K  /export/home
rpool/swap                       2.06G   428G  2.00G  -

===
zfs list -t snapshot
NAME                             USED  AVAIL  REFER  MOUNTPOINT
rpool/ROOT/solaris@install      56.2M      -  2.67G  -
rpool/ROOT/solaris/var@install  3.55M      -   220M  -

===
zfs get quota
NAME                             PROPERTY  VALUE  SOURCE
rpool                            quota     none   default
rpool/ROOT                       quota     none   default
rpool/ROOT/solaris               quota     none   default
rpool/ROOT/solaris@install       quota     -      -
rpool/ROOT/solaris/var           quota     none   default
rpool/ROOT/solaris/var@install   quota     -      -
rpool/VARSHARE                   quota     none   default
rpool/VARSHARE/pkg               quota     none   default
rpool/VARSHARE/pkg/repositories  quota     none   default
rpool/VARSHARE/zones             quota     none   default
rpool/dump                       quota     -      -
rpool/export                     quota     none   default
rpool/export/home                quota     none   default
rpool/swap                       quota     -      -

====
 zfs get refquota
NAME                             PROPERTY  VALUE  SOURCE
rpool                            refquota  none   default
rpool/ROOT                       refquota  none   default
rpool/ROOT/solaris               refquota  none   default
rpool/ROOT/solaris@install       refquota  -      -
rpool/ROOT/solaris/var           refquota  none   default
rpool/ROOT/solaris/var@install   refquota  -      -
rpool/VARSHARE                   refquota  none   default
rpool/VARSHARE/pkg               refquota  none   default
rpool/VARSHARE/pkg/repositories  refquota  none   default
rpool/VARSHARE/zones             refquota  none   default
rpool/dump                       refquota  -      -
rpool/export                     refquota  none   default
rpool/export/home                refquota  none   default
rpool/swap                       refquota  -      -

====
df -h rpool
Filesystem             Size   Used  Available Capacity  Mounted on
rpool                  457G   4.5M       428G     1%    /rpool

Moderator's Comments:
Zfs out of disk space Please use CODE tags when displaying sample input, output, and code segments.

Last edited by Don Cragun; 1 Week Ago at 12:53 AM.. Reason: Add CODE and ICODE tags.
Sponsored Links
    #2  
Old Unix and Linux 1 Week Ago   -   Original Discussion by bindto
kebabbert's Unix or Linux Image
kebabbert kebabbert is offline
Registered User
 
Join Date: Aug 2008
Last Activity: 16 January 2018, 9:58 AM EST
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Strange. ZFS behaves like any other filesystem in many regards, so in this case something is weird. Try to identify the problematic file, and copy the others?
Sponsored Links
    #3  
Old Unix and Linux 1 Week Ago   -   Original Discussion by bindto
drysdalk's Unix or Linux Image
drysdalk drysdalk is offline
Registered User
 
Join Date: Feb 2017
Last Activity: 23 January 2018, 3:13 AM EST
Location: United Kingdom
Posts: 230
Thanks: 12
Thanked 74 Times in 68 Posts
Hi,

Also, was that the full text of the error message ? Usually, out-of-space errors during package installation will mention the full path of whatever directory or file that was trying to be written to disk at the time. The full path might give you some clues as to where the problem lies, possibly. Was anything else showing an error at the console or in the kernel log ?
    #4  
Old Unix and Linux 1 Week Ago   -   Original Discussion by bindto
Peasant's Unix or Linux Image
Peasant Peasant is offline Forum Advisor  
Registered User
 
Join Date: Mar 2011
Last Activity: 22 January 2018, 11:40 PM EST
Posts: 1,111
Thanks: 32
Thanked 332 Times in 286 Posts
Have you used /tmp as a destination of the copy ?

On Solaris systems /tmp filesystem is free memory + swap, so you perhaps used that filesystem, filling it up.

Regards
Peasant.
Sponsored Links
    #5  
Old Unix and Linux 1 Week Ago   -   Original Discussion by bindto
bindto's Unix or Linux Image
bindto bindto is offline
Registered User
 
Join Date: Jan 2018
Last Activity: 14 January 2018, 5:53 PM EST
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
hi,

the reason is found. it is midnight commander(shell link) on linux server. rsync & scp work correct.

well, even well known dog may be found mad.

cheers

Last edited by bindto; 1 Week Ago at 06:53 PM..
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ZFS Slice disk mzainal Solaris 2 04-29-2015 06:13 AM
ZFS - whole disk Vs slice robsonde Solaris 1 05-04-2012 05:35 AM
zfs mirror disk simquest Solaris 1 08-06-2007 03:52 PM



All times are GMT -4. The time now is 06:17 AM.