Solved

Partitioning Hard Disk

Posted on 2001-08-25
4
237 Views
Last Modified: 2013-12-27
How do you partition two hard disk with the following requirements.

disk 1 --> / (root) file system
disk 2 --> /Orcale  

I would like to partition the drive so that only these two filesystems are on each disk.

I attempted to do this already however other filesystems where mounted.  (file systems that I didn't specify)

When I do a df -k I would just like to see:

/          etc...   98%
/Orcale    etc...   90%


Not:
/var/etc...
/var/etc...
/var/etc...

0
Comment
Question by:jonnyblaze
4 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 50 total points
ID: 6426381
Well, this can be done, but you should seriously consider having /var a separate file system. The reason being that /var is being written to constantly while the system runs. If if crashes or goes down from a power fail there is a small but real chance of corruption of the file system. When /var is on the root there is a chance that the system won't be bootable if it suffers significant damage. I'd suggest partitioning the two drives like:

Disk 1  slice 0 /
           slice 1 swap
           slice 3 /var

Disk 2  slice 0 /Oracle

You can do this when installing Solaris by chosing to "manually partition" the drives. Doing so after Installation is possible, but you'll have to use a second disk drive or tapes to move things around. In brief, using tapes the process looks like:

1) backup up all of the exiting file systems on the boot drive
2) boot single user from the OS cd
3) use format to re-partition the boot drive
4) use newfs to make file systems on the new partition(s)
5) restore the system from the backup tape(s)
6) make the disk bootable.

I presume that you don't have a problem with the second disk, but if you haven't already done so and there is nothing on disk 2 you can:

1) run format and make slice 0 cover the whole disk. It's best to zero out all other slices except slice 2.
2) use newfs to create a file system on slice 0.
3) modify vfstab to mount the slice on /Oracle.
0
 
LVL 5

Expert Comment

by:Nisus091197
ID: 6510133
Hi,

I would recommend that you spread Oracle over the two disks as it is quite IO intensive.  Keep the transaction logging on a different disk to the swap partition.

How big are the disks?
What platform are you running (Intel/SPARC)?

Regards, Nisus
http://www.omnimodo.com
0
 
LVL 20

Expert Comment

by:tfewster
ID: 8051573
No comment has been added lately, so it's time to clean up this Topic Area.
I will leave a recommendation for this question in the Cleanup topic area as follows:

- Answered by jlevie

Please leave any comments here within the next 7 days

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

tfewster
Cleanup Volunteer
0
 

Expert Comment

by:SpideyMod
ID: 8100133
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now