Operating System - HP-UX
1836356 Members
1970 Online
110100 Solutions
New Discussion

primary swap position on disk

 
SOLVED
Go to solution
Unix Administrator_5
Frequent Advisor

primary swap position on disk

I have had conflicting answers to this over the years, but now I really need to know.

Does primary swap have to come immediatley after /dev/vg00/lvol1 on the boot disk.

I have run it, by accident, from other locations on the disk.

Is this a problem?
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: primary swap position on disk

No, the requirements are /, /stand, and primary swap must be on the boot disk and that the each of these logical volumes be contigiously allocated. This does not imply that each of these LVOL's must be located adjacent to each other.


If it ain't broke, I can fix that.
Sandip Ghosh
Honored Contributor

Re: primary swap position on disk

There is no rule like that. Actually if you look at the system during installation it first creates the root file system and then it is creating the swap partition. That is why it is taking the lvol2. But you can keep it any where, the only thing is that it has to be contiguous.

Sandip
Good Luck!!!
MANOJ SRIVASTAVA
Honored Contributor

Re: primary swap position on disk

It can be defined any where but bcoz it moer to do with internal disk faster access so it is genrally defined in boot disk . Here is a intresting thread :

http://groups.google.com/groups?q=primary+swap+on+root+disk&hl=en&selm=vbol7tgsva5me55ou9ceacju8s638i8tq4%404ax.com&rnum=2


Manoj Srivastava
Helen French
Honored Contributor

Re: primary swap position on disk

Hi,

I agree with Clay. But one important thing is that when you configure your dump_lv with lvlnboot command. If you use the primary swap as the dump_lv, then it should fall within the first 4GB of the root disk ( first 2GB if you use the old SCSI cards). This depend on the version of the iodc firmware on the boot interface PCA. Some new hardware interfaces may support up to 8TBs. If you configure seperate dump_lv, this doesn't matter.

# man lvlnboot - for more details.

HTH,
Shiju
Life is a promise, fulfill it!