System Administration

which file system will be mounted in single user mode

 
SOLVED
Go to solution
subrata biswal
Frequent Advisor

which file system will be mounted in single user mode

which file system will be mounted in single user mode.
In LVM maintenance mode which file system will be mount,and how i read this
How i will extend root file system.
21 REPLIES 21
Torsten.
Acclaimed Contributor
Solution

Re: which file system will be mounted in single user mode

You CANNOT extend the root fs, not even in maintenance or single user mode (because it must be continuous) - consider to backup/restore with ignite!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
vishnu.khandare
Respected Contributor

Re: which file system will be mounted in single user mode

Hi Subrata,

U cannot extend the file system in single user mode,
Two option are there,
1) Regular backup and restore after extending mount point.
2) If u have Online JFS u can extend the mount point online, run time.

Hope U know steps of both.

Don't forget to assign points


Regards
Vishnu Khandare
You should deserve before U desire!!!!
subrata biswal
Frequent Advisor

Re: which file system will be mounted in single user mode

I am not asking in single user mode for root file system extension.
i am asking in multiusermode how i should extend my root volume.

what command i can use in lvm maintenance mode which file should be mounted.
Pete Randall
Outstanding Contributor

Re: which file system will be mounted in single user mode

Read Torsten's answer again - you can NOT extend the root file system no matter what mode you are in.


Pete

Pete
Doug O'Leary
Honored Contributor

Re: which file system will be mounted in single user mode

Hey;

Maintenance mode is appropriately named: it's designed to get you to a command prompt where you can repair your OS volume group. To directly answer your question, / and /stand should be the only filesystesm mounted.

As Torsten mentioned, you cannot extend the root filesystem as it has to be contiguous - unless you're so incredibly lucky as to have the requiesite number of free extents available contiguous with the existing extents.

If you're that lucky, you need to be playing the lottery not mucking about w/LVM.

The first question to answer when looking to extend the root filesystem is why do you need to? / should be a fairly static filesystem once the OS is installed. If files are being written there or are growing in there, you should find out what they are and either move them to their correct filesystems or generate a new one and mount it where those files are being written.

You can find the files that have been written in the last seven days by:

find / -xdev -type f -mtime -7 -print

If you decide to increase / anyway, the correct method is to create make_net_recovery image of the box and rebuild it from that image. One of the first steps in that process is to identify filesystem sizes.

HTH;

Doug

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
Torsten.
Acclaimed Contributor

Re: which file system will be mounted in single user mode

Maybe its better to repeat the answer ...





You

CANNOT

extend the root fs, not even in maintenance or single user mode (because it must be continuous) - consider to backup/restore with ignite!





.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
subrata biswal
Frequent Advisor

Re: which file system will be mounted in single user mode

Still you are not getting my question
In INIT 3 can it possible to extend root file system .

Second question

In lvm maintenance mode which file system will be mounted.hpux-lm command only used.any other command how i can maintenance in lvm mode.
Torsten.
Acclaimed Contributor

Re: which file system will be mounted in single user mode

Maybe you don't get the answer ... you cannot extend the root filesystem in any mode.

(if you are very experienced in using LVM and you have LVM mirrored disks and online jfs there is a (complicated) way to do this, but I don't recommend this at all!)


Use ignite!


In maintenance and single user mode only / and /stand are accessible.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
subrata biswal
Frequent Advisor

Re: which file system will be mounted in single user mode

can i get any book related about lvm. for me that is very urgent,because for my office work it is required.

and another question
what is the difference between 11.0,11.11,11.31
Any book can i get?