Sponsored Content
Full Discussion: HP-UX LVM Maint. Mode
Operating Systems HP-UX HP-UX LVM Maint. Mode Post 15911 by LivinFree on Thursday 21st of February 2002 01:46:44 AM
Old 02-21-2002
HP-UX LVM Maint. Mode

What exactly happens when you boot HP-UX with the -lm flag?
Quote:
hpux -lm
We tried this the other night, with some wacky results...
We poked around, and found that / was mounted to /dev/rroot (I think... maybe it was just /dev/root). So, (still playing) we activated the volume group (lvchange -ay), and created a directory /oldroot. We mounted /dev/vg00/lvol3 to /oldroot (after running fsck), then changed directory to /oldroot. There, to our disbelief, was a new directory (mixed in with the others) called "/oldroot". That's a wierd thing to see... But THAT oldroot was empty, so it wasn't totally recursive.

We unmounted everything and rebooted... Upon coming back up, the machine rebooted again automatically (a guess is that we forgot to deactive the volume group first, so it fixed out mistake and rebooted), then hung for about 20 minutes upon reaching the cleaning of editor crash files. It bounced back and forth from "busy" to "wait"...

So how did that happen? Is /dev/rroot just the raw device attached to the / filesystem? If so, how could it be mounted? And how could it be mounted twice?

I think my head is about to implode, so I had better stop typing...
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Maint user cannot execute ping command

I want give rights for the maint user to execute the "ping" command. Currently root user can execute the "ping" command, but the maint user is not able to execute the command. (3 Replies)
Discussion started by: kabeer_n
3 Replies

2. SuSE

Convet Linux OS from text mode to graphic mode

Hi All, I used to have my suse linux(VM) server in graphic mode but not anymore since morning. I cant rolback since i loose somuch work. Any idea how to it back to normal. Thanks (6 Replies)
Discussion started by: s_linux
6 Replies

3. HP-UX

how to distinguish standard system mode or trust system mode

I think that if the directory /tcb exists, HP-UX is in trusted mode and the passwd data is somewhere in /tcb/files/auth. But that's all I remember. Also I think recent versions of HP-UX can have a /etc/shadow file. (0 Replies)
Discussion started by: Perderabo
0 Replies

4. HP-UX

How to reduce LVM to create another LVM

Hi, I'm new to HP-UX. I have LVM on /var with 92Gig. I would like to reduce it to create another LVM for Oracle client with 800 meg or so. How to do it. I'm running 11.iv3 Thanks (4 Replies)
Discussion started by: lamoul
4 Replies

5. UNIX for Advanced & Expert Users

What is the difference between single line mode and multiline mode in Regular expressions?

Hi All, Can please let me know what is the difference between the single line mode and multi line mode in regular expresions? Thanks, Chidhambaram B (3 Replies)
Discussion started by: chidhu.anu
3 Replies

6. UNIX for Dummies Questions & Answers

How to convert non LVM root partition to LVM?

Hi Guys, I m using redhat 6, I have installed root partition as non-LVM . Is there any way i can convert it to LVM? (1 Reply)
Discussion started by: pinga123
1 Replies

7. Solaris

DNS service is in maintenance mode. How to bring it back to online mode?

:confused: when i tried to look the status of DNS-client, it is in maintenance mode..... Please tell me how to bring it back to online mode...PLEASE TELL ME STEP BY STEP.... PLEASE... :wall: (2 Replies)
Discussion started by: vamshigvk475
2 Replies

8. HP-UX

From a C++ application how to find if a hpux host is in standard mode or trusted mode

is there a way for my C++ application to find out which mode the hpux OS is running in? standard mode or trusted mode. (3 Replies)
Discussion started by: einsteinBrain
3 Replies

9. Solaris

Maint, resyncing and last-erred notifications

Hi fellow members! I have a oracle solaris server with two internal disks, that acts as an authentication server only, and for now the server seems to be doing its job, but when typing metastat -c I get some notifications. I am not familiar with SVM, I wonder if someone can help me on this:... (3 Replies)
Discussion started by: fretagi
3 Replies
MOUNT_APFS(8)						    BSD System Manager's Manual 					     MOUNT_APFS(8)

NAME
mount_apfs -- mount an APFS volume SYNOPSIS
mount_apfs [-o options] [-u user] [-g group] special directory mount_apfs [-o options] -s snapshot pathname directory DESCRIPTION
The mount_apfs command attaches the APFS volume indicated by the device special to the global file system namespace at the location indicated by directory. This command is normally executed by diskarbitrationd(8) or mount(8) at boot time. The special parameter should be the path to an APFS pseudo disk device node, such as /dev/disk0s2s1 (which is a volume inside the container /dev/disk0s2), which can also be specified as simply disk0s2s1. The options are as follows: -o options Options passed to mount(2) are specified with the -o option followed by a comma separated string of options. See the mount(8) man page for possible options and their meanings. -u user Set the owner of the files in the file system to user. The default owner is the owner of the directory on which the file system is being mounted. The user may be a user-name, or a numeric value. -g group Set the group of the files in the file system to group. The default group is the group of the directory on which the file system is being mounted. The group may be a group-name, or a numeric value. -s snapshot The name of the snapshot to mount. In this usage pathname is the mounted root directory of the base volume containing the snapshot. DIAGNOSTICS
The mount_apfs utility exits 0 on success, and >0 if an error occurs. SEE ALSO
mount(2), unmount(2), fstab(5), mount(8) HISTORY
The mount_apfs utility first appeared in OS X 10.12. Mac OS X September 16, 2015 Mac OS X
All times are GMT -4. The time now is 12:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy