General :: Read The Contents Of A Physical Disk That Was Part Of A Larger Logical Volume?

Mar 17, 2010

how easy it would be to read the contents of a physical disk that was part of a larger logical volume. The disk contains a "Linux LVM" partition that spans its entire size. My problem is that one of my disks died, and I have to send it back for a warranty replacement. However, the disk is dead, and I can't zero it out. I'm just trying to assess how difficult it would be (or at least how likely it would be) for a tech that's checking out the disk to get at the data.

View 4 Replies


ADVERTISEMENT

Server :: Removing Physical Drive From LVM Logical Volume?

Jul 5, 2011

I have a 7.9 TB logical volume I've created from 8 1 TB RAID 0 devices. The volume is formatted with XFS so I can resize when ready. However, I think I want to do something that is not possible. I have 2.5 TB free on my logical volume. I'd like to shrink the volume down to be 6 TB by getting rid of 2 of the 1 TB devices in the physical volume. However pvmove seems to require free extents in order to work. Do I need to add 6 TB of storage, pvmove everything onto it, and then decommission the original 8 1 TB physical devices from the volume?

View 5 Replies View Related

Fedora :: Managed To Reduce The Logical Volume To Free Some Space But Cant Seem To Reduce The Physical Volume

Jan 1, 2010

so i have f12 installed on my hd with lvm using the whole extent of the HD , i want to reduce it so i can dual boot it with a windows system, i managed to reduce the logical volume to free some space, but i cant seem to reduce the physical volume, is this possible and how ?

View 2 Replies View Related

Server :: Creating Multiple Logical Groups Out Of Physical Volume?

Apr 26, 2010

How to create multiple Logical Groups out of a single Physical Volume? Here is the Physical Volume I have created:

Code:
# pvdisplay
--- Physical volume ---
PV Name /dev/sda9
VG Name myVG1
PV Size 54.88 MB / not usable 2.88 MB
Allocatable yes
PE Size (KByte) 4096
Total PE 13
Free PE 11
Allocated PE 2
PV UUID bon4Ao-vmgC-aP1h-EC9X-w3tN-YXNu-0N2dAw

This is how I am creating a Logical Group out of the above Physical Volume:

Code:
# vgcreate myVG1 -s 4m /dev/sda9
Display:

Code:
# vgdisplay
--- Volume group ---
VG Name myVG1
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 5
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 1
Max PV 0
Cur PV 1
Act PV 1
VG Size 52.00 MB
PE Size 4.00 MB
Total PE 13
Alloc PE / Size 2 / 8.00 MB
Free PE / Size 11 / 44.00 MB
VG UUID O6ljYC-bflz-EUTd-nf34-8gYe-Fh39-Bh3cOg

But I am unable to create one more Logical Group out of this Physical Volume. Can we accomplish it? Or do we always extend our current Logical Group to utilize the available space of a Physical Volume?

View 2 Replies View Related

Software :: Extend Physical Volume Disk Space From One To Another?

Sep 16, 2010

Is is possible to extend physical volume disk space from one to another?

Quote:
PV VG Fmt Attr PSize PFree
/dev/sda1 Zeus-extra lvm2 a- 149.05G 17.05G
/dev/sdb1 Zeus-misc lvm2 a- 394.96G 274.96G

Could I get 50GB from /dev/sdb1 and add it to /dev/sda1 ???

View 1 Replies View Related

CentOS 5 Hardware :: LVM Logical Volume Not Seeing 1 Disk After Yum Update / Fix It?

Jun 1, 2011

I ran yum update on my centos 5.6 box a couple of days ago and following this the system would not reboot, dont recall the exact error and don't seem to be able to find it logged anywhere but it was something to do with LVM not being able to find a disk.

In the end I have booted to linux rescue and edited my /etc/fstab file so the system does not try to mount the offending volume group. This enables the system to boot but I need to find out what is wrong with the system and get this volume group accessible again. Here is my edited fstab showing the commented out line. code...

View 1 Replies View Related

CentOS 5 :: Df Not Showing Disk Space After Logical Volume Expansion / Fix It?

Jun 5, 2009

I've added a new LUN to my Centos 5.2 server using Powerpath and have added it to an ext3 logical volume. I extended the logical volume using lvextend and the new space shows up correctly in lvdisplay. What I'm having problems with is getting Centos to see the new disk space (df -h shows 500GB, not 600GB as expected). I've tried running a resize2fs on the new volume but it tells me that "the filesystem is already n blocks long. Nothing to do". Does any one know where I'm going wrong? If possible I'd like to sort this without a reboot.

View 3 Replies View Related

Ubuntu Servers :: Extended A Logical Volume From A Partition On One Disk Into A Entirely Seperate?

May 9, 2011

I have extended a logical volume from a partition on one disk into a entirely seperatedisk.I wish to extend the file system from the original partition onto the newly extend volume.I attempted this using extend2fs but it did not work, and did not mention why.The command I used was -$ sudo resize2fs /dev/glab1/glab-share1/I attempted this on ubuntu server 10.04.

View 5 Replies View Related

Server :: Converting A Logical Volume To A Raw Disk To Mount Oracle ASM Instance On It?

Jul 21, 2010

Could anyone give the steps for converting a logical volume to a raw disk to mount Oracle ASM Instance on it?

View 2 Replies View Related

General :: Move / Copy A Logical Volume From One Volume Group To Another?

Dec 1, 2010

I'm rearranging a bunch of disks on my server at home and I find myself in the position of wanting to move a bunch of LVM logical volumes to another volume group. Is there a simple way to do this? I saw mention of a cplv command but this seems to be either old or not something that was ever available for linux.

View 2 Replies View Related

Ubuntu :: How To Read Contents Of A Floppy Disk

Jan 8, 2011

I'm trying to read contents of a floppy disk, can't even find the disk, much less contents.

View 9 Replies View Related

Server :: Why VMrss Is Larger Than The Physical Memory

Aug 30, 2010

I got the VMrss used by a process as about 2GB, but the physical memory of my computer is only 1G.

View 10 Replies View Related

General :: LVM Removing A Physical Volume Safely

Aug 7, 2010

Let's assume I have a volume group (VG) with six physical volumens (PV) - sdb1, sdb2, sdb3, sdc1, sdc2, sdc3..I want to remove one of the PVs from the group in order to use its space elsewhere - how can I know if it's safe? How can I do that without losing data and without first "pvmove"ing it elsewhere?Reading a bit more, my guess is using the result of pvscan, but I thought I'd ask before removing keeping it safe as I'm not an LVM expert.

View 4 Replies View Related

General :: Create A Physical Volume First Before Creating LVM's?

Jul 13, 2010

WHat is the physical volume in LVM's? Why do we need to create a physical volume first before creating LVM's? I mean, LVM's are created from physical disks, so why do we need to specify it? Didnt get it. Anybody want to help me with this?

View 2 Replies View Related

General :: Find The OID Code For A Physical Volume?

May 18, 2011

How do I find the OID code for a physical volume.I managed to get it to work with our snmp monitoring software to alert me when disk space was < 10% but the computer which was running the SNMP monitoring died.For the life of me I can't remeber how I got it to work.I have 4 partitions 1 has 88% free /etc/mapper/volgroup002 has 21% free /boot3 nfsd 0 bytes4 sunrpc 0 bytesHere is a copy of the OID I'm using 1.3.6.1.2.1.25.2.3.1.5.1 I change the last number to resemble the drive but i'm testing using 8% and they each return an error drive space low which is what the VB script tells it to do. I know the script works as I use it on Windows Servers no problems.I do an SNMPWALK on the server and it validates the above OID with HOST-RESOURCES-MIB::hrStorageSize so I know thats valid.But thats where I'm stuck. What value should I see if I were to use this OID 1.3.6.1.2.1.25.2.3.1.6.1 which is for free disk space.

View 1 Replies View Related

General :: How To Know Which Logical Volume Owns A File

Jul 14, 2010

Hi. We have a cluster consisting of 10 logical volumes all part of one filesystem. Is there a way to know which logical volume owns a certain file/inode? I have tried what is suggested at this link, but the output is the filesystem and not a specific logical volume.

View 6 Replies View Related

CentOS 5 :: Add New RAID Volume To The Existing Logical Volume?

May 7, 2011

I have a system with a 2TB RAID level 1 installed (2 x 2TB drives, configured as RAID1 through the BIOS). I installed Centos 5.5 and it runs fine. I now added another 2x2TB drives and configured them as RAID1 through the BIOS.

How do I add this new RAID volume to the existing logical volume?

View 5 Replies View Related

General :: List All Physical Volumes Associated To A Volume Group?

Nov 9, 2010

Maybe I'm missing something obvious but I do not see it listed in vgdisplay.

View 1 Replies View Related

General :: Different Sizes In Data After Resizing Logical Volume?

Jul 7, 2010

I recently resized one of my Logical Volumes that contained 160MB data from 500MB to 6.5GB. After resizing it, I checked the size of the data via 'du -sh' and found that my data had reduced to 143MB.

Fortunately, I backed up the the 160MB of data on another partition before resizing the Logical Volume. I ran 'diff' on both directories holding the 160MB and 143MB, but there was no difference detected.

how come there is a 17MB difference after resizing?

In case you're wondering how I performed my resize, this is what i did:

e2fsck -f /dev/VolGroup01/LogVol00
lvextend -L +6G /dev/VolGroup01/LogVol00
resize2fs -p /dev/VolGroup01/LogVol00

View 5 Replies View Related

General :: Create A Logical Volume Of 18TB In Size?

Dec 1, 2010

Is it possible to create a logical volume of 18TB in size? I was able to create the volume group but I'm having issues with the logical volume.

View 6 Replies View Related

General :: Resizing Initially Installed Logical Volume?

Oct 26, 2010

Back in the day, I foolishly installed my Fedora server with the default logical volume layout on one physical volume. Knowing now that this is a huge waste of space (partition is large) I'd like to reduce the logical volume and somehow detach this now unused space and mount as a normal partition. Is this possible? Only 20GB of the 160GB has been used for the OS. Home partition is on a secondary disk.

View 9 Replies View Related

General :: Clone A Larger Disk To Smaller With Cp?

Jul 10, 2010

I need to clone a 160GB hard drive with Linux Mint 9 (not more than 10GB used) to a 30GB SSD that is partitioned carefully (aligned to cylinder boundaries) and is currently running Ubuntu (which I wish to overwrite with Linux Mint 9). The SSD has a /boot partition, / and swap. The source (160 GB) does not have a separate boot partition. Can anyone help me fill in the steps below? /dev/sdc will be the source (160GB) and /dev/sda is the target (with partitions 1,2 and swap on 5).

make a copy of /etc/fstab from the target drive before proceeding. Ready the target partitions. Can I reuse the existing destination partitions on the SSD? Ready the filesystems on each of the target partitions. /boot is ext2, / is ext4 and swap is already set up too. As I said, all contain data (Ubuntu) that I wish to overwrite. So what steps are needed here? Do I need to erase anything (files, etc.) before the copy/clone? next, use dd to copy MBR (right?) And exclude partition table:

Code:

dd if=/dev/sdc1 of=/dev/sda1 count=1 bs=446

Mount the source and destination drives:

Code:

mount -t ext4 /dev/sdc1 /mnt/source
mount -t ext2 /dev/sda1 /mnt/boot_target
mount -t ext4 /dev/sda2 /mnt/root_target

I suppose I can leave the swap partition on the target untouched. Copy the files from the source partition to the destination

Code:

cp -a /mnt/source/boot /mnt/boot_target
cp -a /mnt/source/ /mnt/root_target

then I assume I go to /mnt/root_target and delete the /boot directory, right? Change /etc/fstab to reflect the new partitions. I mount by label. Will my partition labels be intact after this? Do I have to make any changes to GRUB? Anything else?

View 14 Replies View Related

General :: Problems With Pvcreate To Create A Physical Volume For RAID 1

Jul 29, 2010

Hi,

I am experiencing problems in creating a physical volume on RAID 1 system.

Here is what I did.

#/usr/sbin/pvcreate /dev/md0

the message reads:
"Device /dev/md0 not found (or ignored by filtering)."

The /dev/md0 has a partition type 8e for linux LVM

Can anyone enlighten me?

Thanks

View 1 Replies View Related

General :: Secure Installation Of Debian Using Logical Volume Manager

Aug 31, 2011

I am installing Debian for the very first time and having read websites similar to [url] I have come across parts of the installation which I do not understand.

For example, I have created logical volumes using the logical volume manager however am unclear what the message regarding writing changes to disk before configuring Logical Volume Manager means.

Once I have created the volume group, I am presented with a window that provides me with the ability to

Display configuration details
Create volume groups
Create logical volume
Delete logical volume
Extend volume group

Option 2 is pretty self-explanatory however am unsure whether it is advisable to segment directories between 2 or more volume groups. What benefits does it serve?

Option 5 provides me to extend a volume group however am unsure how this works?
Does it mean I can assign free space available one 1 physical drive to the existing volume group or does it mean I can assign free space available on a second phyical drive or does it mean both? How does it affect security, performance, etc?

Currently the only way I can see the logical volumes I have created by selection Option 4. Is there any other way? How do most people keep track of the logical volumes they have created e.g. checking off against a checklist, etc?

Next I have the ability to map the logical volumes to mount points however am confused what purpose the none mount point serves as I have the option to select it?

What are mount options for?

What do I use labels for?

What are reserved blocks for?

What does typical usage refer to?

How does the option to copy data from another partition work? What is it for?

View 1 Replies View Related

General :: Cloning Logical Volume And Swap And Boot Partitions?

Feb 28, 2011

I have a RHEL4 system with 2 250GB physical volumes. There is a boot partition that is outside LVM and 2 logical volumes (swap and root) within a single volume group. This volume group bridges the 2 physical volumes.

I would like to clone this system onto a single 1 TB physical volume that will replace the 2x250GB currently in use.

View 2 Replies View Related

General :: Merging Logical Volume Groups - Initial Setup

Oct 21, 2010

I am very new to LVM, as well as not especially experienced at linux, and have some questions about how lvm works. A few months back I set up a server running FC10 and tried creating Logical Groups during the the initial setup. We've realized that we are not using all the available space on the physical drive, and I realized that for some reason (I'm thinking this might have been the default?), we initially created two Logical Groups (VolGroup00 and VolGroup01) and it appears two Logical volumes in each (LogVol00 and LogVol01). LogVol00 in VolGroup00 is mapped to /, and the other Group was actually unused. I figure that it would be simplest to just use all this space mapped to /, so I thought the thing to do would be to simply merge VolGroup01 to VolGroup00. I tried this:

[root@office mapper]# vgmerge VolGroup00 VolGroup01
Logical volumes in "VolGroup01" must be inactive

So after a bit of research, I tried this:

[root@office mapper]# vgchange -a n VolGroup01
Can't deactivate volume group "VolGroup01" with 1 open logical volume(s)

So apparently There's an open volume, but I don't know how to go about closing it. I removed the LogVol00 from that group, but LogVol01 won't budge.

[root@office mapper]# lvremove VolGroup01
Can't remove open logical volume "LogVol01"

So how do I go about closing this Volume? At one point, there was some output that told me LogVol01 was being used as swap space. How do I handle that?

View 4 Replies View Related

General :: Mount Part Of A Dd Image As A Truecrypt Volume

Jul 16, 2011

I have a dd image of a full drive (as a file) that was using Truecrypt system encryption under windows. I want to mount the main partition from that image using Linux's Truecrypt. I am familiar with dd loopback devices and have the partition offset, but I don't know how I can mount it like this because I need to use the truecrypt command.

Is there perhaps some way to create a fake device file for the disk image that I can mount from within Truecrypt?

View 1 Replies View Related

General :: How To Read/write Physical Address

May 17, 2010

One of the tasks I want to do is to read/write from/to any physical address. My question is how do I get a physical address on my Linux desktop. I was thinking of using some utility to dump my BIOS settings, and modify a "not so important" memory address there? Is this possible. Otherwise is there any other physical address I can read/write

View 3 Replies View Related

Ubuntu :: Create A Single Logical Drive Out Of Two Physical Drives?

Mar 4, 2010

I'm installing Ubuntu to be used as an NFS storage server for my VMWare ESX servers. I've got a server that has two 2TB drives in it. The hardware raid controller isn't an option because it only sees up to 1TB of each drive. So, I'm trying to figure out to do this using either LVM or Parted. I don't know much about doing this, and LVM was the first thing I tried but it didn't seem to do much. It looks like it just created a smaller partition to install Ubuntu on. It didn't ask me what I wanted to do with the rest of the drive space. I've messed around with Parted and am not sure what to do, to be honest. I found a few blog posts but most started off assuming that I knew how to get to where they were starting from.

It's just two drives, /dev/sda /dev/sdb

View 3 Replies View Related

General :: Trying To Read Contents Of /dev/?

Jan 30, 2010

I am trying to use "hexdump" on the files in the /dev/ directory. This is ubuntu 9.10.There is some more in this forum: [URL]Hexdump returned small blocks of bytes or couldn't see the files even as root. I expected to see the actual data streams from the various devices. How come this doesn't work?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved