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
Building Custom Topologies(3)				     Hardware Locality (hwloc)				     Building Custom Topologies(3)

NAME
Building Custom Topologies - Functions int hwloc_custom_insert_topology (hwloc_topology_t newtopology, hwloc_obj_t newparent, hwloc_topology_t oldtopology, hwloc_obj_t oldroot) hwloc_obj_t hwloc_custom_insert_group_object_by_parent (hwloc_topology_t topology, hwloc_obj_t parent, int groupdepth) Detailed Description A custom topology may be initialized by calling hwloc_topology_set_custom() after hwloc_topology_init(). It may then be modified by inserting objects or entire topologies. Once done assembling, hwloc_topology_load() should be invoked as usual to finalize the topology. Function Documentation hwloc_obj_t hwloc_custom_insert_group_object_by_parent (hwloc_topology_ttopology, hwloc_obj_tparent, intgroupdepth) Insert a new group object inside a custom topology. An object with type HWLOC_OBJ_GROUP is inserted as a new child of object parent. groupdepth is the depth attribute to be given to the new object. It may for instance be 0 for top-level groups, 1 for their children, and so on. The custom topology newtopology must have been prepared with hwloc_topology_set_custom() and not loaded with hwloc_topology_load() yet. parent may be either the root of topology or an object that was added earlier through hwloc_custom_insert_group_object_by_parent(). int hwloc_custom_insert_topology (hwloc_topology_tnewtopology, hwloc_obj_tnewparent, hwloc_topology_toldtopology, hwloc_obj_toldroot) Insert an existing topology inside a custom topology. Duplicate the existing topology oldtopology inside a new custom topology newtopology as a leaf of object newparent. If oldroot is not NULL, duplicate oldroot and all its children instead of the entire oldtopology. Passing the root object of oldtopology in oldroot is equivalent to passing NULL. The custom topology newtopology must have been prepared with hwloc_topology_set_custom() and not loaded with hwloc_topology_load() yet. newparent may be either the root of newtopology or an object that was added through hwloc_custom_insert_group_object_by_parent(). Author Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code. Version 1.7 Sun Apr 7 2013 Building Custom Topologies(3)
All times are GMT -4. The time now is 01:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy