Operating System - HP-UX
1753659 Members
5912 Online
108798 Solutions
New Discussion юеВ

why root, boot swap dump are contiguous?

 
SOLVED
Go to solution
samay_hcl
Advisor

why root, boot swap dump are contiguous?

hello experts could you please explain me why
why root, boot swap filesystems are contiguous?
Thanks!
5 REPLIES 5
Matti_Kurkela
Honored Contributor
Solution

Re: why root, boot swap dump are contiguous?

The HP-UX bootloader is too simple to understand LVM or VxVM, because it needs to be very small (especially in PA-RISC systems).

The requirement that /stand, swap and the root filesystem are all contiguous and always in the same order will allow the bootloader to use a very simple algorithm to find all the things it needs (the kernel file from /stand, the primary swap, and the root filesystem).

Once the bootloader has successfully started the kernel and told it where the root filesystem is, the kernel will handle the rest with its built-in LVM (or VxVM) support.

MK
MK
Vijaykumar_1
Valued Contributor

Re: why root, boot swap dump are contiguous?

The extents are in sequence and can be accessed better when compared to a linked allocation.

The PE's are next to each other in contiguos allocation, whereas in linked the PE's are diversed
Dennis Handly
Acclaimed Contributor

Re: why root, boot swap dump are contiguous?

>Vijaykumar: The extents are in sequence and can be accessed better

It isn't better/worse, it's as MK said, smart vs simple.
KapilRaj
Honored Contributor

Re: why root, boot swap dump are contiguous?

Simple - that's it. Although it is time to move ahead.

HPUX should come up with a native VxVM/LVM aware boot loader so that it is easy to re-size partitions in future.
Nothing is impossible
samay_hcl
Advisor

Re: why root, boot swap dump are contiguous?

Thanks for all your help.