LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (http://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   increasing root file system size in solaris 10 (http://www.linuxquestions.org/questions/solaris-opensolaris-20/increasing-root-file-system-size-in-solaris-10-a-4175443123/)

smsc 12-27-2012 11:02 AM

increasing root file system size in solaris 10
 
Hi

How can I increase the size of "/" ? Actually, as shown below, I want to get some space from "/date" and add it to "/" or somehow mount "/usr/local/" on other place except "/"
Code:

/dev/dsk/c0t0d0s0      6.0G  4.8G  1.2G    81%    /
/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                    19G  988K    19G    1%    /etc/svc/volatile
objfs                    0K    0K    0K    0%    /system/object
sharefs                  0K    0K    0K    0%    /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
                      6.0G  4.8G  1.2G    81%    /lib/libc.so.1
fd                      0K    0K    0K    0%    /dev/fd
/dev/dsk/c0t0d0s3      48G    49M    48G    1%    /tmp
swap                    19G    28K    19G    1%    /var/run
/dev/dsk/c0t0d0s4      558G  1.7G  551G    1%    /data
/dev/dsk/c0t0d0s7      48G  993M    47G    3%    /export/home

Availabe DISCK :

Code:

  # format
Searching for disks...done


AVAILABLE DISCK SELECTIONS:
      0. c0t0d0 <DEFAULT cyl 44610 alt 2 hd 255 sec 126>
          /pci@0,0/pci8086,3408@1/pci103c,3245@0/sd@0,0
Specify disk (enter its number): 0
selecting c0t0d0
[disk formatted]
Warning: Current Disk has mounted partitions.
/dev/dsk/c0t0d0s0 is currently mounted on /. Please see umount(1M).
/dev/dsk/c0t0d0s1 is currently used by swap. Please see swap(1M).
/dev/dsk/c0t0d0s3 is currently mounted on /tmp. Please see umount(1M).
/dev/dsk/c0t0d0s4 is currently mounted on /data. Please see umount(1M).
/dev/dsk/c0t0d0s7 is currently mounted on /export/home. Please see umount(1M).

and OS is

Code:

    SunOS 5.10 Generic_147441-01 i86pc i386 i86pc

64-bit amd64 applications
        sse4.2 sse4.1 ssse3 popcnt tscp cx16 sse3 sse2 sse fxsr mmx cmov amd_sysc
        cx8 tsc fpu
32-bit i386 applications
        sse4.2 sse4.1 ssse3 popcnt tscp cx16 sse3 sse2 sse fxsr mmx cmov sep
        cx8 tsc fpu

Thanks in advanced.

jlliagre 12-28-2012 05:02 AM

What says
Code:

prtvtoc /dev/rdsk/c0t0d0s2
?


All times are GMT -5. The time now is 12:45 AM.