LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   disk space (https://www.linuxquestions.org/questions/solaris-opensolaris-20/disk-space-512614/)

nose 12-21-2006 11:51 AM

disk space
 
I says I'm out of disk space /opt but I have 50 gb or more is there anyway to fix this

Brian1 12-21-2006 01:25 PM

IS /opt a partition?
Can you delete anything from it?
Are you using LVM or real partitions?
Is there any room left that is not a partitioned yet?

What you may be able to do if the / partition has plenty of room to hold the contents of /opt then you can umount /opt. The directory /opt should remain. Now remount /opt as /opt2 and copy the contents from /opt2 to /opt.

Brian

nose 12-22-2006 12:41 AM

disk space
 
I'm assuming it a directory, it has netbeans in there. I was trying to install studio 11. I was trying to install it because I was having a compiling errors, thought that would've help it out. /opt is the default dir for install but I don't have the space so it says. I don't know what kind of partitions they are, just the default stuff with solaris 10. I'm thinking it's because when I installed the os I was calling myself saving 20 gb for something else but nothing there now. you know these os's have to have things their way.

jlliagre 12-22-2006 01:53 AM

It would help if you provide more information about the disk(s) you have, their partitions and slices size, then the filesystems you have created on them, their size and their available space.

Brian1 12-22-2006 04:47 PM

Post the output from the following commands.
df
cat /etc/fstab
cat /proc/partitions
/sbin/fdisk -l (must be run as root)

Brian

jlliagre 12-23-2006 04:23 AM

Quote:

Originally Posted by Brian1
Post the output from the following commands.
df
cat /etc/fstab
cat /proc/partitions
/sbin/fdisk -l (must be run as root)

That's for Linux.

Equivalent commands for Solaris are:
Code:

df -k
cat /etc/vfstab
/usr/sbin/prtvtoc /dev/rdsk/c0d0s0
/usr/sbin/fdisk -v -W - /dev/rdsk/c0d0p0


Brian1 12-23-2006 12:30 PM

Sorry did not see it was under the Solaris forum section.

Brian

nose 12-24-2006 12:52 AM

partition info
 
sorry it took so long here the info you all requested thanks

/ (/dev/dsk/c1d0s0 ): 169110 blocks 413721 files
/devices (/devices ): 0 blocks 0 files
/system/contract (ctfs ): 0 blocks 2147483612 files
/proc (proc ): 0 blocks 7961 files
/etc/mnttab (mnttab ): 0 blocks 0 files
/etc/svc/volatile (swap ): 962296 blocks 70790 files
/system/object (objfs ): 0 blocks 2147483481 files
/lib/libc.so.1 (/usr/lib/libc/libc_hwcap2.so.1): 169110 blocks 413721 files
/dev/fd (fd ): 0 blocks 0 files
/tmp (swap ): 962296 blocks 70790 files
/var/run (swap ): 962296 blocks 70790 files
/export/home (/dev/dsk/c1d0s7 ):99677466 blocks 6174999 files
/cdrom/s10u2_tools (/vol/dev/dsk/c0t0d0/s10u2_tools): 0 blocks 0 files
/home/nose (/export/home/nose):99677466 blocks 6174999 files




$ cat /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c1d0s1 - - swap - no -
/dev/dsk/c1d0s0 /dev/rdsk/c1d0s0 / ufs 1 no -
/dev/dsk/c1d0s7 /dev/rdsk/c1d0s7 /export/home ufs 2 yes -/devices - /devices devfs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes -



/dev/dsk/c1d0s0 / ufs rw,intr,largefiles,logging,xattr,onerror=panic,dev=1980000 1166664946
/devices /devices devfs dev=4380000 1166664933
ctfs /system/contract ctfs dev=43c0001 1166664933
proc /proc proc dev=4400000 1166664933
mnttab /etc/mnttab mntfs dev=4440001 1166664933
swap /etc/svc/volatile tmpfs xattr,dev=4480001 1166664933
objfs /system/object objfs dev=44c0001 1166664933
/usr/lib/libc/libc_hwcap2.so.1 /lib/libc.so.1 lofs dev=1980000 1166664943
fd /dev/fd fd rw,dev=4680001 1166664947
swap /tmp tmpfs xattr,dev=4480002 1166664947
swap /var/run tmpfs xattr,dev=4480003 1166664947
/dev/dsk/c1d0s7 /export/home ufs rw,intr,largefiles,logging,xattr,onerror=panic,dev=1980007 1166664951
-hosts /net autofs nosuid,indirect,ignore,nobrowse,dev=4740001 1166664961
auto_home /home autofs indirect,ignore,nobrowse,dev=4740002 1166664961
unknown:vold(pid429) /vol nfs ignore,noquota,dev=4700001 1166664967
/vol/dev/dsk/c0t0d0/s10u2_tools /cdrom/s10u2_tools hsfs ro,nosuid,noglobal,maplcase,rr,traildot,dev=1740001 1166664968
/export/home/nose /home/nose lofs dev=1980007 1166941778

jlliagre 12-24-2006 04:42 AM

Please use code tags around your results to improve their readability, and run the commands I suggested for Solaris.


All times are GMT -5. The time now is 09:10 AM.