Sponsored Content
Full Discussion: disk adding through lvm
Operating Systems HP-UX disk adding through lvm Post 302115853 by sreekumar.R on Saturday 28th of April 2007 12:52:03 PM
Old 04-28-2007
disk adding through lvm

Hi dear(s)

Can u explain how to add a disk through lvm with commands.
I need to add a 9 gb scsi HS disk to a Hp D class 9000 server.
 

10 More Discussions You Might Find Interesting

1. HP-UX

Size of LVM header in non bootable disk

hi, i have a query regarding the size of the LVM header. Since the LVM header of a bootable disk is always 2912KB. The header size of a non bootable disk is not fixed. In Bootable disk after the LVM header (2912 KB=5824 sectors)the user data starts or we can say LV extents starts. If i extend any... (0 Replies)
Discussion started by: gorayen
0 Replies

2. AIX

Disk I/O Issue using LVM

We have a filesystem which contains 8 hard disks but i am facing disk I/O issue becuase data is not spreading across all the disks.Is there any way i can check how data is spreading and any parameter we need to change to spread ata across all disks. OS--AIX 5.3 (1 Reply)
Discussion started by: ukatru
1 Replies

3. HP-UX

Remove Faulty disk from HP-UX LVM VG

Requirement to remove a faulty mirrored disk from hp-ux LVM <root@pdwp1s>/etc # vgdisplay -v /dev/vg00 vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0": The specified path does not correspond to physical volume attached to this volume group vgdisplay: Warning: couldn't... (9 Replies)
Discussion started by: Shirishlnx
9 Replies

4. Linux

About shrinking LVM and then adding the freed space to another OS on dualboot system

Hi all, Fedora 17, 64bit Ubuntu 12.04 desktop 64bit HD 160G I installed Ubuntu 12.04 on the HD first taking up the whole disc. Later I added/installed Fedora 17 selecting the "Shrink" option and save the bootloader on /dev/sda1 to make them dualboot. Installation is successful with... (0 Replies)
Discussion started by: satimis
0 Replies

5. Filesystems, Disks and Memory

LVM recovery, Hard disk broken

Hi I am new on your forum, because I need some help. I have a server with debian and proxmox 2. The HardDisk is broken. I am in rescue mode, and I can't mount LVM partition to recover my backups. What I've already done : # fdisk -l Disk /dev/sda: 2000.4 GB, 2000398934016 bytes 255... (0 Replies)
Discussion started by: pppplu
0 Replies

6. SuSE

Problem migrating disk attached to the same vg (lvm)

Hi, I'm trying to migrate the content of disk 'A' to disk 'B', that they belong to the same vg 'data'_vg'. Whe using pvmove, I get the following error: 'device-mapper: suspend ioctl failed: Interrupted system call'. I put down the whole trace: pvmove -v "source_disk" "sink_disk" ... (0 Replies)
Discussion started by: Begnux
0 Replies

7. UNIX for Advanced & Expert Users

LVM - restore metadata on other disk

Hi guys, I would like to ask your opinion about my theory, how to fix my broken LVM without risking any data loss. I use Archlinux at home. I just love this distro, even it gives me a lots of work (particularly after system updates). Basic system spec: AMD FX(tm)-6100 Six-Core Processor... (1 Reply)
Discussion started by: lyynxxx
1 Replies

8. HP-UX

LVM: is possible to replace a disk?

Scenario1: VG00 lvm,not mirrored,2 disk of 36GB vg size VG00 size is under 30G. Is possible to remove a disk of 36GB and replace "on fly" with a disk of 300GB on VG00? Thanks (6 Replies)
Discussion started by: Linusolaradm1
6 Replies

9. UNIX for Advanced & Expert Users

LVM, Troubles with adding another Disk

I am having trouble with LVM and one of my physical volumes. Using Ubuntu Desktop 14.04 I was trying to set up LVM across two disks (not containing the OS or Home). First I created the initial Physical Volume, the Volume Group, and the Logical volume, and everything seemed fine. The... (2 Replies)
Discussion started by: JR_ULFOR
2 Replies

10. UNIX for Advanced & Expert Users

[REDHAT7] Adding LVM volume

Dear community, is it possible to add more volumes to actual LVM disk? I have the following: # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 120G 0 disk ├─sda1 8:1 0 500M 0 part /boot └─sda2 ... (0 Replies)
Discussion started by: Lord Spectre
0 Replies
virt-format(1)						      Virtualization Support						    virt-format(1)

NAME
virt-format - Erase and make a blank disk SYNOPSIS
virt-format [--options] -a disk.img [-a disk.img ...] DESCRIPTION
Virt-format takes an existing disk file (or it can be a host partition, LV etc), erases all data on it, and formats it as a blank disk. It can optionally create partition tables, empty filesystems, logical volumes and more. To create a disk containing data, you may be better to use virt-make-fs(1). If you are creating a blank disk to use in guestfish(1), you should instead use the guestfish -N option. Normal usage would be something like this: virt-format -a disk.qcow or this: virt-format -a /dev/VG/LV "disk.qcow" or "/dev/VG/LV" must exist already. Any data on these disks will be erased by these commands. These commands will create a single empty partition covering the whole disk, with no filesystem inside it. Additional parameters can be used to control the creation of partitions, filesystems, etc. The most commonly used options are: --filesystem=[ext3|ntfs|vfat|...] Create an empty filesystem ("ext3", "ntfs" etc) inside the partition. --lvm[=/dev/VG/LV] Create a Linux LVM2 logical volume on the disk. When used with --filesystem, the filesystem is created inside the LV. For more information about these and other options, see "OPTIONS" below. The format of the disk is normally auto-detected, but you can also force it by using the --format option (q.v.). In situations where you do not trust the existing content of the disk, then it is advisable to use this option to avoid possible exploits. OPTIONS
--help Display brief help. -a file --add file Add file, a disk image, host partition, LV, external USB disk, etc. The format of the disk image is auto-detected. To override this and force a particular format use the --format=.. option. Any existing data on the disk is erased. --filesystem=ext3|ntfs|vfat|... Create an empty filesystem of the specified type. Many filesystem types are supported by libguestfs. --filesystem=none Create no filesystem. This is the default. --format=raw|qcow2|.. --format The default for the -a option is to auto-detect the format of the disk image. Using this forces the disk format for -a options which follow on the command line. Using --format with no argument switches back to auto-detection for subsequent -a options. For example: virt-format --format=raw -a disk.img forces raw format (no auto-detection) for "disk.img". virt-format --format=raw -a disk.img --format -a another.img forces raw format (no auto-detection) for "disk.img" and reverts to auto-detection for "another.img". If you have untrusted raw-format guest disk images, you should use this option to specify the disk format. This avoids a possible security problem with malicious guests (CVE-2010-3851). --lvm=/dev/VG/LV Create a Linux LVM2 logical volume called "/dev/VG/LV". You can change the name of the volume group and logical volume. --lvm Create a Linux LVM2 logical volume with the default name ("/dev/VG/LV"). --lvm=none Create no logical volume. This is the default. --partition Create either an MBR or GPT partition covering the whole disk. MBR is chosen if the disk size is < 2 TB, GPT if >= 2 TB. This is the default. --partition=gpt Create a GPT partition. --partition=mbr Create an MBR partition. --partition=none Create no partition table. Note that Windows may not be able to see these disks. -v --verbose Enable verbose messages for debugging. -V --version Display version number and exit. --wipe Normally virt-format does not wipe data from the disk (because that takes a long time). Thus if there is data on the disk, it is only hidden and partially overwritten by virt-format, and it might be recovered by disk editing tools. If you use this option, virt-format writes zeroes over the whole disk so that previous data is not recoverable. -x Enable tracing of libguestfs API calls. EXIT STATUS
This program returns 0 on success, or 1 on failure. SEE ALSO
guestfs(3), guestfish(1), virt-filesystems(1), virt-make-fs(1), virt-rescue(1), virt-resize(1), <http://libguestfs.org/>. AUTHOR
Richard W.M. Jones <http://people.redhat.com/~rjones/> COPYRIGHT
Copyright (C) 2012 Red Hat Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. libguestfs-1.18.1 2013-12-07 virt-format(1)
All times are GMT -4. The time now is 03:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy