Sponsored Content
Full Discussion: LVextend problem
Operating Systems Linux Red Hat LVextend problem Post 303003496 by rbatte1 on Thursday 14th of September 2017 12:20:15 PM
Old 09-14-2017
I always try to keep the rootvg to a minimum, after all, how do you plan to use mksysb to save a bootable OS media for an emergency recovery?

Just 8Gb should be plenty for AIX operating system with space to spare. Make the OS disk simple.

Keep all your user personal space, and application space in a separate volume group.

I know that there are costs with having more media, but it's well worth it. You need to ask yourself 'Is £1,000 GBP / $2,000 USD etc. worth losing my server for?' and do the job well. Of course, it will then be tempting to fill the rootvg with other stuff, just because there is space there, but you are immediately compromising yourself.

The other way to do this would be to have the disks mirrored by the hardware and provide logical disks to the operating system. That way, you get the best of both worlds, but you need to know you can tell when a disk has failed and has left you exposed.


Can you confirm:-
  • how your resized?
  • if the logical volume copies were synchronised or were any stale?
  • if you re-created the boot loader for the OS on the new disk(s)?
  • if you put the disk into the boot list?
  • what you can see from SMS / firmware prompt?

Hopefully we can help you here.



Kind regards,
Robin
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

SSH Problem auth problem

Hi, Just recently we seem to be getting the following error message relating to SSH when we run the UNIX script in background mode: warning: You have no controlling tty. Cannot read confirmation.^M warning: Authentication failed.^M Disconnected; key exchange or algorithm negotiation... (1 Reply)
Discussion started by: budrito
1 Replies

2. Shell Programming and Scripting

problem with dd command or maybe AFS problem

Hi, folks. Sorry for bothering, but maybe someone could help me please. The problem is the following: there is some script that copies files from local file system to AFS. The copying is performed with dd command. The script copies data into some AFS volumes. The problem appeared with one... (0 Replies)
Discussion started by: Anta
0 Replies

3. Shell Programming and Scripting

ssh script problem problem

Hi Please help me with the following problem with my script. The following block of code is not repeating in the while loop and exiting after searching for first message. input_file ========== host001-01 host001-02 2008-07-23 13:02:04,651 ConnectionFactory - Setting session state... (2 Replies)
Discussion started by: pcjandyala
2 Replies

4. AIX

user login problem & Files listing problem.

1) when user login to the server the session got colosed. How will resolve? 2) While firing the command ls -l we are not able to see the any files in the director. but over all view the file system using the command df -g it is showing 91% used. what will be the problem? Thanks in advance. (1 Reply)
Discussion started by: pernasivam
1 Replies

5. Solaris

lvextend in solaris 10

Hi all, I wish to extend my logical volumn, previously i am using the command lvextend in HPUX, but hows in solaris 10 ? Thank you (1 Reply)
Discussion started by: SmartAntz
1 Replies

6. SuSE

lvextend on ext3 resizing

Hi all IM very curious about one thing Im currently playing with a test server SLES x64 SP2, and I got to a serious issue which is really sorry for the word pissing me off. :mad: I created an pv, then vg and finaly some lv's which is fine. I mounted then and everything worked fine... (0 Replies)
Discussion started by: kl1ngac1k
0 Replies

7. IP Networking

Problem with forwarding emails (SPF problem)

Hi, This is rather a question from a "user" than from a sys admin, but I think this forum is apropriate for the question. I have an adress with automatic email forwarding and for some senders (two hietherto), emails are bouncing. This has really created a lot of problems those two time so I... (0 Replies)
Discussion started by: carwe
0 Replies

8. UNIX for Advanced & Expert Users

Lv not useable after lvextend - high I/O

Hello, on an Ubuntu 12.04 NAS there are some lvm's VG #PV #LV #SN Attr VSize VFree vg01 1 2 0 wz--n- 930,45g 411,83g LV VG Attr LSize Origin Snap% Move Log Copy% Convert lv-iscsi vg01 -wi-a- 500,00g lv-root vg01... (0 Replies)
Discussion started by: darktux
0 Replies

9. UNIX for Dummies Questions & Answers

sed Or Grep Problem OR Terminal Problem?

I don't know if you guys get this problem sometimes at Terminal but I had been having this problem since yesterday :( Maybe I overdid the Terminal. Even the codes that used to work doesn't work anymore. Here is what 's happening: * I wanted to remove lines containing digits so I used this... (25 Replies)
Discussion started by: Nexeu
25 Replies

10. IP Networking

Router problem or ISP problem ?

Hi everyone, I am experiencing discontinuity of Internet service, this started 1 month ago. Everything worked very well for 1 year of intensive use, but now, I have problems reaching my gateway. The gateway is not my router but a node belonging to my ISP and I share the same public IP with... (3 Replies)
Discussion started by: remic
3 Replies
lvlnboot(1M)															      lvlnboot(1M)

NAME
lvlnboot - prepare LVM logical volume to be root, boot, primary swap, or dump volume SYNOPSIS
autobackup] { boot_lv | dump_lv | root_lv | | swap_lv }] [vg_name] Remarks cannot be performed if the volume group is activated in shared mode. DESCRIPTION
This command is supported for arguments belonging to volume groups version 1.0. Attempting this command with arguments belonging to volume groups versions 2.0 or higher will result in an error. The command updates all physical volumes in the volume group so that the logical volume becomes the root, boot, primary swap, or a dump volume when the system is next booted on the volume group. If a nonexistent logical volume is specified, this command fails. If a differ- ent logical volume is already linked to the root or primary swap, the command fails. The boot information stored on disks assumes a certain ordering of disks listed in lvlnboot(1M) command should be run in recovery mode option) when there is a change to the order of the disks in for any bootable volume group (see vgimport(1M) and vgscan(1M) for more infor- mation). Options and Arguments recognizes the following options and arguments: vg_name The path name of a volume group. Set automatic backup for this invocation of this command. autobackup can have one of the following values: Automatically back up configuration changes made to the logical volume. This is the default. After this command executes, the command (see vgcfgbackup(1M)) is executed for the volume group to which the logical volume belongs. Do not back up configuration changes this time. Define boot_lv to be the boot volume the next time the system is booted on the volume group. boot_lv must be the first logical volume on the physical volume. boot_lv must be contiguous, and must not allow bad block relocation. boot_lv is used to locate the boot file system during the boot process. The boot file system has the kernel which is read by the boot loader (see hpux(1M) for PA-RISC systems). This command updates the file with the location of the root volume in the currently booted volume group. The file is used during maintenance-mode boots to locate the root volume. During normal boots (versus maintenance-mode boots, see hpux(1M) for PA-RISC systems), this command is automati- cally executed by (see inittab(4)). Since this command is performed during boot, it does not need to be performed manually unless is missing (or alternatively, performing a normal reboot will recreate this file). During maintenance-mode boots, since the root volume group is not activated, does not update Maintenance-mode boot will fail if does not already exist with the correct location of the root volume. See When a new root volume group is created, the first boot must be a normal boot (versus a maintenance-mode boot), so that gets created. This option does not allow updating for any volume group other than the one that is booted. Define dump_lv to be one of the dump volumes the next time the system is booted on the volume group. dump_lv must be a contiguous logical volume and cannot have Bad Block Relocation enabled. The command updates the Boot Data Reserved Area of each bootable physical volume in the volume group (see pvcre- ate(1M)). The combined size of all the dump volumes should be at least 2048 bytes larger than the total memory of the sys- tem. Multiple dump devices can be configured, but each dump_lv must be entered with a separate command line. This option will be obsolete in the next HP-UX release. Define root_lv to be the root volume the next time the system is booted on this volume group. root_lv must be a con- tiguous logical volume and cannot have bad block relocation enabled. If root_lv is the first logical volume on the physical volume, then it is configured as the combined root-boot volume. Otherwise, root_lv is configured as the separate root volume in which case a separate boot volume needs to be configured using the option. Either the separate root or the separate boot volume can be configured first. The command updates the Boot Data Reserved Area of each bootable physical volume (see pvcreate(1M)) to enable the volume group to be used to locate the root file system. root_lv is also used as the root volume during a maintenance-mode boot (see hpux(1M) for PA-RISC systems). The physical volumes containing root_lv must have been created using the option (see pvcreate(1M)), indicating that that physical volume is to be used as a bootable physical volume. Also, the command (see mkboot(1M)) must have been run on the physical volume to create the LIF area at the top of the physical volume (see lif(4)). Recover any missing links to all of the logical volumes specified in the Boot Data Reserved Area and update the Boot Data Reserved Area of each bootable physical volume in the volume group (see pvcreate(1M)). Define swap_lv to be the primary swap volume the next time the system is booted on the volume group. swap_lv must be a contiguous logical volume, and a root logical volume must have been previously defined with this command. The command updates the Boot Data Reserved Area of each bootable physical volume in the volume group (see pvcre- ate(1M)). Any existing swap area previously defined must be removed via lvrmboot(1M). This option will be obsolete in the next HP-UX release. Print verbose messages. With no other arguments present, print information on root, boot, swap, and dump logical volumes. If a combined root-boot volume is configured, no information for the boot volume is displayed. EXTERNAL INFLUENCES
Environment Variables determines the language in which messages are displayed. If is not specified or is null, it defaults to "C" (see lang(5)). If any internationalization variable contains an invalid setting, all internationalization variables default to "C" (see environ(5)). EXAMPLES
The following examples show configuration of a combined root-boot volume. Create a root volume group, containing root, swap, and dump logical volumes. Assume that an appropriate directory called and a cor- responding file already exist (see lvm(7)). First, initialize the disk, say so that it can be used as an LVM boot disk. Place the LIF information on the disk using the command. Create the volume group Create a logical volume that is suitable for use as the root volume. This logical volume has to be the first in the volume group and should be a contiguous volume with bad block relocation turned off. Create a logical volume that will be used as primary swap. This volume should be contiguous. Create a logical volume that will be used as the dump volume. This volume should be contiguous with bad block relocation turned off. Specify that the logical volume, will be used as the root volume. Specify that the logical volume, will be used as the primary swap. Specify that the logical volume, will be used as the dump volume. Display the results of the previous operations. The following examples show configuration of separate root and boot volumes. Create a root volume group, containing root, boot, swap, and dump logical volumes. Assume that an appropriate directory called and a corresponding file already exist (see lvm(7)). First, initialize the disk, say so that it can be used as an LVM boot disk. Place the LIF information on the disk using the command. Create the volume group Create a logical volume that is suitable for use as the boot volume. This logical volume has to be the first in the volume group and should be a contiguous volume with bad block relocation turned off. Create a logical volume that is suitable for use as the root volume. This logical volume should be a contiguous volume with bad block relocation turned off. Create a logical volume that will be used as primary swap. This volume should be contiguous. Create a logical volume that will be used as the dump volume. This volume should be contiguous with bad block relocation turned off. Specify that the logical volume, will be used as the root volume. Specify that the logical volume, will be used as the boot volume. Specify that the logical volume, will be used as the primary swap. Specify that the logical volume, will be used as the dump volume. Display the results of the previous operations. The following example shows configuration of multiple dump volumes. Specify that logical volumes and should be used as the dump logical volumes and that should also be used as primary swap. Assume that the volume group and the logical volumes have been created and the logical volumes are contiguous. WARNINGS
Dump Volume Warnings At the HP-UX 11.00 release and forward, the command will support any size dump device depending upon the IODC firmware addressability of the system. If the configured dump logical volume is out of the range of what the firmware can address, the command will return an error message such as "Unable to configure dump logical volume. Dump logical volume size beyond the IODC max address." Separate Root/Boot Warnings Whenever mkboot(1M) is used to restore the LIF area of a damaged root physical volume, the boot_lv option of must be performed afterwards to record the boot volume information inside the new LIF (see lif(4)). Subsequent commands such as are dependent on the boot_lv informa- tion inside the LIF. If the option does not locate the boot volume boot_lv, and the root_lv has not yet been performed, then performing the root_lv option will enable the boot volume to be located. The command derives the location of boot volume from the location of the root volume. Maintenance-Mode Warnings When creating additional root volumes, a normal boot must be performed on each new root volume so that which is required for maintenance- mode boots (see hpux(1M) for PA-RISC systems), gets created for each new root volume. Mirrored root_lv volumes should start at the same offset on each physical volume so that the location stored in works for maintenance-mode boots off of any mirror. FILES
Contains the location of the root volume. Used during maintenance-mode boots (see hpux(1M) for PA-RISC systems) to locate the root volume. SEE ALSO
lvcreate(1M), lvrmboot(1M), lvmadm(1M), mkboot(1M), pvcreate(1M), vgcreate(1M), inittab(4), lif(4), lvm(7). lvlnboot(1M)
All times are GMT -4. The time now is 01:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy