Solved

Partitioning Hard Disk

Posted on 2001-08-25
4
242 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 21

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Skill Development 15 201
MarkLogic 1 117
How do disable only TLSv1.0 in Oracle Sun One 7.1 Server 9 149
/etc/sudoers on Solaris 2 18
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

732 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