小虾漪儿 发表于 2015-03-13 18:28

solaris 提示根目录空间不足 怎么扩大根目录

Mar 13 18:22:14 CMSServer ufs: NOTICE: alloc: /: file system full

我的硬盘146个G,根分区做系统的时候只划了24G,其它都没分。现在显示提示上面的提示:/空间不足。

CMSServer# df -h
Filesystem             size   usedavail capacityMounted on
/dev/dsk/c1t0d0s0       24G    23G   0K   100%    /
/devices               0K   0K   0K   0%    /devices
ctfs                     0K   0K   0K   0%    /system/contract
proc                     0K   0K   0K   0%    /proc
mnttab                   0K   0K   0K   0%    /etc/mnttab
swap                   7.9G   1.1M   7.9G   1%    /etc/svc/volatile
objfs                  0K   0K   0K   0%    /system/object
sharefs                  0K   0K   0K   0%    /etc/dfs/sharetab
/platform/SUNW,SPARC-Enterprise-T5120/lib/libc_psr/libc_psr_hwcap2.so.1
                        24G    23G   0K   100%    /platform/sun4v/lib/libc_psr.so.1
/platform/SUNW,SPARC-Enterprise-T5120/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1
                        24G    23G   0K   100%    /platform/sun4v/lib/sparcv9/libc_psr.so.1
fd                     0K   0K   0K   0%    /dev/fd
swap                   7.9G   8K   7.9G   1%    /tmp
swap                   7.9G    16K   7.9G   1%    /var/run
/dev/dsk/c1t0d0s3       12G   214M    12G   2%    /cms


CMSServer# format
Searching for disks...done

AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273>
          /pci@0/pci@0/pci@2/scsi@0/sd@0,0
       1. c1t1d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273>
          /pci@0/pci@0/pci@2/scsi@0/sd@1,0
       2. c1t2d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
          /pci@0/pci@0/pci@2/scsi@0/sd@2,0
       3. c1t3d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
          /pci@0/pci@0/pci@2/scsi@0/sd@3,0
Specify disk (enter its number):

该如何操增大根目录?

DC_楚楚 发表于 2015-03-13 23:38

单用户下 ,ufsdump 备份文件系统,然后format 修改分区, 然后在restore , 你这里根盘分了两个文件系统,建议两个都ufsdump备份,再恢复。
页: [1]
查看完整版本: solaris 提示根目录空间不足 怎么扩大根目录