How to merge solaris partition


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How to merge solaris partition
# 1  
Old 10-03-2007
How to merge solaris partition

I m using solaris 8. I have some free space on my hard disk. I want to merge that space into /export/home. Please tell me complete procedure for doing it.
# 2  
Old 10-03-2007
Can you post the output of "df -k" and "mount"? And say what you want from where to appear where.
# 3  
Old 10-03-2007
there is unused space in my hard disk. I want to merge that space into /export/home
///////////////////////////////////////////////////////////////////////////////////////////////////////////////
df -k
===========================================================
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0d0s0 11408572 6541426 4753061 58% /
/devices 0 0 0 0% /devices
ctfs 0 0 0 0% /system/contract
proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
swap 1011452 624 1010828 1% /etc/svc/volatile
objfs 0 0 0 0% /system/object
/usr/lib/libc/libc_hwcap1.so.1
11408572 6541426 4753061 58% /lib/libc.so.1
fd 0 0 0 0% /dev/fd
swap 1010836 8 1010828 1% /tmp
swap 1010852 24 1010828 1% /var/run
/dev/dsk/c0d0s3 14114363 3913981 10059239 29% /opt
/dev/dsk/c0d0s7 13763187 4493387 9132169 33% /export/home
===========================================================

mount out put

===========================================================

/ on /dev/dsk/c0d0s0 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1980000 on Wed Oct 3 08:30:03 2007
/devices on /devices read/write/setuid/devices/dev=4380000 on Wed Oct 3 08:29:48 2007
/system/contract on ctfs read/write/setuid/devices/dev=43c0001 on Wed Oct 3 08:29:48 2007
/proc on proc read/write/setuid/devices/dev=4400000 on Wed Oct 3 08:29:48 2007
/etc/mnttab on mnttab read/write/setuid/devices/dev=4440001 on Wed Oct 3 08:29:48 2007
/etc/svc/volatile on swap read/write/setuid/devices/xattr/dev=4480001 on Wed Oct 3 08:29:48 2007
/system/object on objfs read/write/setuid/devices/dev=44c0001 on Wed Oct 3 08:29:48 2007
/lib/libc.so.1 on /usr/lib/libc/libc_hwcap1.so.1 read/write/setuid/devices/dev=1980000 on Wed Oct 3 08:30:02 2007
/dev/fd on fd read/write/setuid/devices/dev=4680001 on Wed Oct 3 08:30:03 2007
/tmp on swap read/write/setuid/devices/xattr/dev=4480002 on Wed Oct 3 08:30:04 2007
/var/run on swap read/write/setuid/devices/xattr/dev=4480003 on Wed Oct 3 08:30:04 2007
/opt on /dev/dsk/c0d0s3 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1980003 on Wed Oct 3 08:30:08 2007
/export/home on /dev/dsk/c0d0s7 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1980007 on Wed Oct 3 08:30:08 2007
/mnt/D on /dev/dsk/c0d0p0:c read/write/setuid/devices/nohidden/nofoldcase/dev=1981010 on Wed Oct 3 08:30:41 2007
# 4  
Old 10-03-2007
Quote:
Originally Posted by mansoorulhaq
there is unused space in my hard disk. I want to merge that space into /export/home
Are you refering to the space on /opt (/dev/dsk/c0d0s3) ?

A few main solutions...

1. make a directory in /opt/home and move some home directories in into that, then make symbolic links from /export/home/xxx to those directories.

2. change peoples home directory to /opt/home/xxxx

3. backup your important data and rebuild your system with the newly gained knowledge on how big you want your slices.

4. like 3 but make the whole drive just a swap and root slice.
# 5  
Old 10-03-2007
But my problem is that there is some unpartitioned space on my hard disk. I want to merge that space into /export/home.
# 6  
Old 10-03-2007
Is this space adjacent to "/dev/dsk/c0d0s7" ?

Sounds like you may need to use "volume manager", I've used logical volumes on HPUX, AIX and Tru64, but not Solaris.

Looks like whatever you do, you will need to rebuild your /export/home filesystem.
# 7  
Old 10-03-2007
how can i rebuild /export/home filesystem to increase its size.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Upgraded BIOS - cannot see Solaris partition??

I have recently upgraded my Supermicro X10SAT motherboard. I have also a SSD with a Windows10 partition and a Solaris 11.3 partition. Upon boot I press F11 and choose which partition I want to boot into. But after the bios upgrade, I cannot see the Solaris partition when I press "F11" to choose... (9 Replies)
Discussion started by: kebabbert
9 Replies

2. Solaris

Partition overlaps another partition while creating new parition in solaris

hi all while formatting hard disk i am getting following error. Partition 1 ends at 266338338 It must be between 34 and 143374704. label error: EFI Labels do not support overlapping partitions Partition 8 overlaps partition 1. Warning: error writing EFI. Label failed. I have formatted the... (2 Replies)
Discussion started by: nikhil kasar
2 Replies

3. Solaris

Solaris Filesystem - rename the partition

Hi all i got this filesystem Filesystem size used avail capacity Mounted on /dev/dsk/c0t600A0B80001F350A000033404A5D29D9d0s2 492G 64M 487G 1% /u10 How do i change the name for /dev/dsk/c0t600A0B80001F350A000033404A5D29D9d0s2 to the... (3 Replies)
Discussion started by: SmartAntz
3 Replies

4. Solaris

Disabling Solaris 10 active partition

I have a dual boot system with windows xp and solaris 10 running. Solaris 10 is currently in the primary active partision. If it's possible, how do I make the windows partision the primary active one rather than solaris 10? (1 Reply)
Discussion started by: shakarho
1 Replies

5. Solaris

Problem with Solaris Partition, I cant see it

Hi All, First post, I work as database developer (Oracle) My task is to setup a solaris system on a VMware installation which sits on a x86 server. I have installed the Os, applied patches (I think) and on VMWARE I added new hardware (Disk) which is where my database will be. The... (5 Replies)
Discussion started by: platforminc
5 Replies

6. Solaris

How to get a mail when the partition reaches 75% in solaris

Hi Every one, I am new to Solaris and i want to know how to get a mail when the partition reaches certain Ex-75% percentage, and how to write shell script. I hope some one will help me. Thanks and Regards, Venkatesh. ##edit#by#moderator## don't post your email address here... (1 Reply)
Discussion started by: 1409.venkatesh
1 Replies

7. Solaris

How to use FORMAT and PARTITION command on Solaris 9

I am seeking advice from experts in this forum. Please help me. I have tow disks on Sun Sparc box. Disk one has been installed Solaris 9 system. The disk two has been partitioned as one disk with 140 GB on the partition /dev/dsk/c1t1d0s6. Right now, I want to modify it as two partitions. I have... (8 Replies)
Discussion started by: duke0001
8 Replies

8. Solaris

How to access a solaris partition

Hi, I have the present scenario on a x86 machine. fdisk c0d0p0 Cylinders Partition Status Type Start End Length % 1 Active Solaris2 1 2500 2500 61 2 ... (14 Replies)
Discussion started by: vibhor_agarwali
14 Replies

9. Solaris

Solaris 8 partition - compression

Hi, Anyone know if I have a mount point /data , can it turn on compression like what the MS Windows does ???? Thanks (2 Replies)
Discussion started by: civic2005
2 Replies

10. Filesystems, Disks and Memory

re-partition disks on solaris

hi all, i was wondering if i have some volume manager and i want to format all partitions/disks and re-create new slices can i use regular format command or what? i think veritas volume manager is already installed. (2 Replies)
Discussion started by: Bashar
2 Replies
Login or Register to Ask a Question