Merging Partitions


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Merging Partitions
# 1  
Old 12-10-2002
Merging Partitions

Hi, I was just wondering what is the best way to merge partitions on a disk. I am running Solaris 8 and have two mirrored disks (Solstice Disk Suite). Say my /local partition is 4gb and I have a /local2 partition of 2gb. My question is can I increase the size of the /local partition using some of the free space in /local2 or do I need to delete the /local2 partition altogether, and how are both these scenarios achieved?

Thanks in Advance
# 2  
Old 12-10-2002
The easiest way is to have another partition that is free and clear. Then use tar to put everything you want on it.

Veritas Volume manager would be able to 'merge' the two on the fly, but DiskSuite is not very well suited for that.

Another option (not recommended but still an option) is to create a link from one to the other (ln -s /local2/newdir /local/newdir) which will place your info onto the /local2 which has more space available.

The reason it isn't recommended - we have a server that many system admins started running soft links on - at the time, they needed to move things around due to lack of space. Well, it ended up that /opt/OV/log pointed to /export/home/log, which pointed to /var/OV/logs, which pointed to /opt/logs. It seems at one time or another, space was needed on the different partitions (/opt, /export/home, /var) and these files were moved around until they ended up on the original partition.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Partitions necessary in RHEL 6

I had a query as to what are the partitions that should be necessary in RHEL 6. My knowledge says that 1) / 2) /home 3) Swap 4) /boot should be sufficient. But, I am seeing in my production environment which is RHEL 5 that there are partitions also for 1) /var 2) /tmp... (8 Replies)
Discussion started by: RHCE
8 Replies

2. Solaris

Create new partitions

Hello, Can someone tell me why should i do to resolve this problem? I cant creat the news partitions!! # /etc/init.d/volmgt start volume management starting. # format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0d0 <DEFAULT cyl 1955 alt 2 hd 255 sec 63> ... (5 Replies)
Discussion started by: herbich1985
5 Replies

3. UNIX for Dummies Questions & Answers

Partitions.

Hi All, My colleague says . On some boxes we have /var/,/opt are inside root and on some they are not on root they are separately. So please any one explain me what actually the difference is. Thanks is Advance. (3 Replies)
Discussion started by: rama krishna
3 Replies

4. UNIX for Advanced & Expert Users

Partitions

Hello masters, Actually, i am user of Ubuntu, but I want to use Debian too. I have a computer with a product key for w7 so i will use too, only for games... The structure I have thought is the next with 1TiB of capacity. Primary: 50 GB NTFS for W7 Extended: Logical: 20 GB FAT32... (3 Replies)
Discussion started by: albertogarcia
3 Replies

5. AIX

Logical Partitions?

I'm trying to find out how many logical partitions our AIX box has. I'm running the command: topas -C and nothing is showing up. Is it safe to say that there is only one LPAR, which is what AIX is installed on? Move to AIX - jim mc (2 Replies)
Discussion started by: NycUnxer
2 Replies

6. Filesystems, Disks and Memory

Help with resizing partitions

Hi First post :o I have recently used Acronis (Backup software for data backup and disaster recovery in Windows and Linux - Acronis) to create identical systems that I need to build. Everything works OK, but one of the machine has a bigger harddisk (250G) than the one I used to create the... (2 Replies)
Discussion started by: forte712
2 Replies

7. UNIX for Dummies Questions & Answers

unix partitions

how to access/sliceing different partions using divvy (1 Reply)
Discussion started by: sobin
1 Replies

8. Shell Programming and Scripting

Monitoring partitions

I have a partition that sometimes grows to 100% before the weekly backup and perge can happen. Can someone leade me to a script that will monitor the size of a partition and send me an email when it is over a certain percent? Unix Solarus 8. Thanks (1 Reply)
Discussion started by: PrimeRibAndADew
1 Replies

9. UNIX for Advanced & Expert Users

partitions

HI. i installed solaris on a x86 machine and i only partition for 4 gig when it suppose to be 8. i only using 4 gig right now how can i start using the other four. please help, thanks in advance Meeh (2 Replies)
Discussion started by: souldier
2 Replies

10. Filesystems, Disks and Memory

raw partitions

i want to know, how do i to create a rwa partttions in unixware 7 wit raid 5 best regards felix arteaga (1 Reply)
Discussion started by: farteaga
1 Replies
Login or Register to Ask a Question