Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #592
Difficulty: Medium
Suppose we want to sort a huge collection of 1 trillion, 10^12, elements. Doing so with Selection Sort or Insertion Sort would require about n^2 = (10^12)^2 = 10^24 or 1 sextillion comparisons.
True or False?
Linux & Unix Commands - Search Man Pages

pvremove(8) [bsd man page]

PVREMOVE(8)						      System Manager's Manual						       PVREMOVE(8)

NAME
       pvremove - remove a physical volume

SYNOPSIS
       pvremove  [-d|--debug] [-h|--help] [-t|--test] [-v|--verbose] [--version] [-f[f]|--force [--force]] [-y|--yes] PhysicalVolume [PhysicalVol-
       ume...]

DESCRIPTION
       pvremove wipes the label on a device so that LVM will no longer recognise it as a physical volume.

OPTIONS
       See lvm(8) for common options.

       -ff, --force --force
	      Force the removal of a physical volume belonging to an existing volume group.  Normally vgreduce(8) should be used instead  of  this
	      command.	You cannot remove a physical volume which in use by some active logical volume.

       -y, --yes
	      Answer yes to all questions.

SEE ALSO
       lvm(8), pvcreate(8), pvdisplay(8), vgreduce(8)

Sistina Software UK					 LVM TOOLS 2.02.95(2) (2012-03-06)					       PVREMOVE(8)

Check Out this Related Man Page

PVREMOVE(8)                                                   System Manager's Manual                                                  PVREMOVE(8)

NAME
pvremove - remove a physical volume SYNOPSIS
pvremove [-d|--debug] [-h|--help] [-t|--test] [-v|--verbose] [--version] [-f[f]|--force [--force]] [-y|--yes] PhysicalVolume [PhysicalVol- ume...] DESCRIPTION
pvremove wipes the label on a device so that LVM will no longer recognise it as a physical volume. OPTIONS
See lvm(8) for common options. -ff, --force --force Force the removal of a physical volume belonging to an existing volume group. Normally vgreduce(8) should be used instead of this command. You cannot remove a physical volume which in use by some active logical volume. -y, --yes Answer yes to all questions. SEE ALSO
lvm(8), pvcreate(8), pvdisplay(8), vgreduce(8) Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) PVREMOVE(8)

14 More Discussions You Might Find Interesting

1. AIX

volume managment

Can anyone tell me why its a bad idea to have rootvg span multiple physical drives i.e. hdisk0 00014861356a3c77 rootvg hdisk1 0001486111354c7c rootvg hdisk2 00014861fcef6a5d rootvg hdisk3 none None thanks (1 Reply)
Discussion started by: csaunders
1 Replies

2. Filesystems, Disks and Memory

Can I Use Loopback Devices with LVM?

I've got a RedHat 9 box with LVM support in a 2.4.22 kernel. What I would like to do is take a set of empty files created with 'dd' and concatenate them into a volume group. I've done a good deal of googling, and it seems that this is something that can be done. But when I try to use 'pvcreate'... (3 Replies)
Discussion started by: deckard
3 Replies

3. AIX

mkvg fails

# mkvg -y temp_vg hdisk5 0516-1254 mkvg: Changing the PVID in the ODM. 0516-1207 mkvg: An invalid physical volume ID been detected on hdisk5. 0516-862 mkvg: Unable to create volume group. ??? What do I do? AIX 4.3.3 I have seen something like this before but I don't remember the... (2 Replies)
Discussion started by: osee
2 Replies

4. AIX

Moving a logical volume to another one

Hi everybody, I am quite new in AIX and I want to have an advice on my problem. I want to move the content of one disk (which has HW problems) to a new one. I use LVM and the faulty disk is one logical volume. I understand that if I define a new logical volume (same size) on a new disk, I can... (8 Replies)
Discussion started by: aribault
8 Replies

5. Solaris

How can i grow Raid 5 volume in SVM..?

Hello experts.. How can i grow Raid 5 volume in SVM? Thanks in advance.. (2 Replies)
Discussion started by: younus_syed
2 Replies

6. Solaris

What is volume in ufsrestore

Hi Gurus, Can you guys please explain what is volume in ufsrestore? Thanks (2 Replies)
Discussion started by: kumarmani
2 Replies

7. UNIX for Dummies Questions & Answers

trying to devide existing physical volume

hi guys, i`m trying to take 40GB of my sda5 (/home mounted) to create new volume group(lvc) here`s the df output: /dev/sda2 7,9G 3,3G 4,3G 44% / udevfs 5,0M 60K 5,0M 2% /dev shmfs 379M 0 379M 0% /dev/shm tmpfs 379M ... (2 Replies)
Discussion started by: neverhood
2 Replies

8. AIX

mirroring rootvg

I would like to konw wheather below steps are sufficient for mirroring rootvg. extendvg rootvg hdisk1 mirrorvg rootvg bootlist -m normal hdisk0 hdisk1 bosboot -ad hdisk0 bosboot -ad hdisk1 or anything needs to be added. (7 Replies)
Discussion started by: manoj.solaris
7 Replies

9. Solaris

Need to attach one slice with existing concatenated volume

Hi I need to add new slice to existing concatenated volume. Please let me know the process to do the same I have d0 concatenated volume which consist of c1t0d0s7 & c1t2d0s0 bash-3.00# df -h /export/home Filesystem size used avail capacity Mounted on /dev/md/dsk/d0 ... (3 Replies)
Discussion started by: sb200
3 Replies

10. AIX

Position of the logical volume on the physical volume

Hello everyone, I just read that while creating a logical volume(LV) we can choose the region of the physical volume (PV) in which the LV should be created. When I say region I mean: outer edge - outer middle - center - inner middle and inner edge. Can anyone help me understand the utility... (11 Replies)
Discussion started by: adilyos
11 Replies

11. Web Development

Javascript to force decimals in 0.25 steps

I have a few input values on a form that must be in 0.25 steps, how do I force this ? alternatively how do I automatically enter the correct vales as the user types and disallow any other values ie: as the firstnumber is typed (say 3) then .00 is added, then as the decimal point and the first... (5 Replies)
Discussion started by: barrydocks
5 Replies

12. HP-UX

LVM version 2.0

Hi, I am trying to change the value "VG Max Size" from 1t to 3t on lvm version 2.0 via the vgmodify command, but this command is not longer supported in version 2.0. With what command can I can the "VG Max Size" value for lvm version 2.0 , I am using 11.3i hpux version. Thanks and Regards... (3 Replies)
Discussion started by: kpatel786
3 Replies

13. AIX

Trouble removing Physical Disk from Volume Group

I want to remove hdisk1 from volume group diskpool_4 and migrate PV from hdisk1 to hdisk2 , but facing problems, so what is the quickest way to migratepv and remove hdisk1 -- # lspv | grep diskpool_4 hdisk1 00c7780e2e21ec86 diskpool_4 active hdisk2 ... (2 Replies)
Discussion started by: filosophizer
2 Replies

14. Shell Programming and Scripting

How to remove answers and explanation parts from a text file with lots of questions.?

Hi, I have a text file with thousands of questions in it. Each question (multiple lines) with multiple choice options, Answer and Explanation (optional). I need to delete Answer & explanation parts for all Questions and insert a blank line before net question. Each question starts with NO. I... (4 Replies)
Discussion started by: prvnrk
4 Replies

Featured Tech Videos