Ubuntu Servers :: LVM2 Does Not Recognize /dev/md1

Jun 26, 2011

Recently I have upgraded my home file server from ubuntu 10.10 to 11.04. I found my LVM+RAID5 does not work any more. Here are stuff I have explored so far

$sudo lvdisplay
--- Logical volume ---
LV Name /dev/fsvr_main/var

[code]....

I don't know where /dev/md1p1 come from and why /dev/md1 is not recognized by lvm any more.

View 5 Replies


ADVERTISEMENT

Ubuntu Servers :: Slow LVM2 Lv-to-lv Copy

Jul 16, 2011

I've got three disks together on a *home* server that constitute four LVs.The two are the root and swap LVs installed by the Ubuntu 10.04.2 LTS installer on the OS drive (250 GB VG: Beta). The third & fourth LVs I made of two physical volumes (640 GB and 200 GB VG: Data) and mounted each inside /torrent. All are ext4.

I'm migrating lots of large files from /home to inside of /torrent, but I'm seeing EXTREMELY slow speeds (700KB/s).I'll admit this is my first time using LVM, and I tried it only because of the numerous smaller drives I have sitting around that weren't getting used. I didn't expect such a large drop in speed.

Here's a more technical review of the setup:

Code:

me@Beta:~$ sudo pvdisplay
[sudo] password for me:
--- Physical volume ---
PV Name /dev/sdb
VG Name Data

[code]....

View 5 Replies View Related

Ubuntu Servers :: Packet Manager Doesn't Recognize The Password

Dec 10, 2010

just setup ubuntu server 10.10 on my new home server, installing usual stuff ect and came to install TCL, however had a couple of errors and done a bit of digging, come across a thread here that told me i needed to enable the 'repositories' packets in my packet manager, then went to open the packet manager and its doesn't recognize my password, although i can use sudo just fine.

View 9 Replies View Related

Fedora Servers :: FC9 Fileserver No Longer Recognize Win-7 Users - Samba?

May 12, 2009

New fun from M$, we have started to test Win-7 on a few machines, and while it worked flawlessly in XP, Vista and Win-7 beta, logging on to the share (AD) from a Win-7 RC doesn't work.

View 1 Replies View Related

Ubuntu :: How To Resize Lvm2 Partitions

Jan 7, 2011

I recently installed fedora on my system along with windows in a dual boot unfortunately, the fedora partition is too big and is taking 80% of my disk space. lvm2 volumes are not recognised by windows so i decided to shrink my fedora lvm2 partition and create a new fat32 partition to store common data. i tried gparted from my ubuntu 10.04 CD but it was unable to resize the partition can someone suggest to me a GUI tool which could do the the resizing of an lvm2 partition?

View 1 Replies View Related

Ubuntu :: How To Mount Lvm2 Partitions

Feb 7, 2011

I have ubuntu installed on 2 hdd. one of my hdd is having a lvm. I am unable to acess the home partition created in this lvm from my other hdd. in fact it is not shown at all inside the explorer window, the whole lvm block itself. if u run disk utility that also does not show the lvm partitions as mounted. So what are the steps required to be done to access those LVM partition from the other disk.

View 1 Replies View Related

Ubuntu :: Tweaking LVM2 For 4K Drives ?

Mar 18, 2011

Preface: I have just bought two new WD20EARS hard drives and have added them into my LVM and moved all my data from my old failing seagate drives to my new drives. I also have a WD10EARS in the LVM.
These are WD Caviar Green Power 4K hard drives.

Using Ubuntu 10.10 64bit and LVM2, everything is working but I want to know if I can tweak it for more performance. I am relatively new.

Questions:
1. How can I check if the 4K drives are aligned?
2. How can I check what block size LVM is using?
3. I didn't partition one of the WD20EARS when adding it to a LV, will this be problematic or effect performance? Can I partition it without losing the data that is on it now?
4. I heard XFS is better than EXT4 for large files and people tend to suggest using certain formats when they're talking about LV's, if I check the format of any of the hard drives it says they are lvm2...?

View 5 Replies View Related

Ubuntu Installation :: LVM2: Resize The Physical Volume

Apr 11, 2011

I have a 500GB hard disk, /dev/sda. On it, there is /dev/sda1 for /boot, /dev/sda2 for an LVM PV (physical volume), and /dev/sda3 for another /boot (multiple Linux distros, one boot partition for grub legacy, another for grub2). so the LVM2 partition, /dev/sda2, is taking up ~465GiB. I want to add another OS (non-Linux), so I resized the *lvm2 physical volume* to 320GiB, successfully, using pvresize.

However, I now need to resize the partition so the lvm2 physical volume only just fits on it, ie to 320GiB. My plan of action is to use gparted (the partition table is GUID, so fdisk won't work), to first delete the partition from the partition table, then re-add it but this time with a smaller value (~320GiB). The problem is that I need to know exactly how many MiB/cylinders the physical volume is taking up. So, I run:

Code:

root@sysresccd /root % pvdisplay
--- Physical volume ---
PV Name /dev/sda2
VG Name vg0

[code]....

What one of these values do I need to set the new lvm2 replacement partition to?

View 7 Replies View Related

Ubuntu :: Unable To Mount 52 GB LVM2 Physical Volume?

Jul 10, 2011

When I installed Ubuntu, I created an 52 gb encrypted partition which shows up in the disk utility, and in the window that opens when I click on the "home folder" icon. I get my normal windows partition, and under that the 52 GB LVM2 partition. But when I try to access it, I get this error.

Unable to mount 52 GB LVM2 Physical Volume - not a mountable file system

This is what fdisk -l shows

Device Boot Start End Blocks Id System
/dev/sda1 * 1 52 409600 27 Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda2 52 30452 244193280 7 HPFS/NTFS

[Code]....

How can I fix this, and be able to access that 52gb partition? This is only my second day that I work with Ubuntu, so If more information is needed then let me know

View 9 Replies View Related

Fedora :: Install Grub2 On LVM2 ?

Nov 26, 2010

I have a working Fedora14 system. /boot is on sda1.

Here is my system:

Code:

I would like to install Grub2 to have /boot in LVM2 as well. Is there a guide for it or can someone help me with this task?

View 5 Replies View Related

Debian :: How To Resize Partitions With LVM2?

Feb 20, 2010

Can someone help me understand by giving me the commands I need in order to shrink my "debian-home" logical volume by 10GBs and increase the size of my "debian-root" logical volume by that same 10GB of data? (Everything in that computer is ext4 including the /boot ... physical volume? (I think that's what it's called))I would REALLY appreciate it if someone could just give me the exact or approximate terminal commands that I would need to use. I assure you, I will never forget them

View 4 Replies View Related

General :: Shrunk A LVM2 PV, Now Can't Do ANYTHING To Lv_root?

May 11, 2011

I did all the fsck, resize2fs, lvresize, pvresive, parted, etc. stuff and was very careful about what I was doing, but clearly wasn't careful enough. I did backup lv_root to another drive with fsarchiver before I buggered things up, but I can't restore it because, well... I don't know! At this point I'd really just like to wipe the drive I messed up except for /boot and start over but I don't know how to do that when the system seems to think the drive is mounted when it ISN'T.Here's some info:- device is /dev/sdb with sdb1 as /boot and sdb2 a lvm2 volume group containing lv_root and lv_swap -- it was a default Fedora 11 installation that used up the whole drive- i did nothing to /boot and it seems to be fine, grub loads, choosing Fedora 11 shows the logo but quickly becomes a black screen, choosing Fedora 15 Live USB that I originally added from Fedora 11 works just fine (currently trying to fix things from Fedora 15)- i deleted and recreated lv_swap and it still shows up in /dev/vg_box- i shrunk lv_root and the filesystem is within the right size of the lv, which is within the right size of the pv, which is within the right size of the partition, which i made sure i used the right sectors, but lv_root does not show up in /dev/vg_box.

- lvscan says both lv_swap and lv_root are active but lvdisplay says lv_root is "NOT available"- system thinks /dev/sdb2 is mounted even though it ISN'T and can't seem to do ANYTHING to it because of thislvchange -ay /dev/vg_box gives:

Code:
device-mapper: resume ioctl failed: Invalid argument
Unable to resume vg_box-lv_root (253:2)

[code]....

View 3 Replies View Related

General :: LVM2 - Adding And Removing PV

Sep 14, 2009

My Linux OS is mounted on a LVM spread across an 8GB SD Card and a 4GB Flash Drive. I've used about 6GB and have about 2.xGB left. I'm trying to download Sabayon and I don't quite have enough space to store DVD size ISO. I have extra 2GB Flash Drive that I am not using and can converted to a PV and that would give me the necessary space I need to store the ISO. Now the ISO would spread from 4GB Flash to my 2GB Flash. My question is complicated, so bare with me. I want to know by adding 2GB PV into LogGroup and then remove it from the same LogGroup and then added back later. Would the data still exists and accessible? What happens to the data when I remove it the first time, would be automatically deleted, or stay hidden to plug back in?

View 4 Replies View Related

Software :: LVM2 - Recover LV_BACKUP ?

Jun 21, 2010

Yesterday I had a functioning system but needed to do an reinstall of ubuntu because of missing dependencies. Then I installed /dev/sda5 as normal (no lvm) When I ran vgchange -ay after installation it did not find my missing logic volume. Instead got a whole bunch of error messages. I googled and followed the advice below vgreduce --removemissing UBUNTU. I did this vgreduce command because when running pvs I got /dev/sda5 unknown device.

Read LVM HOWTO, but I dont understand this part. How can I know which pvs belongs to which LV "Use pvcreate to restore the metadata: pvcreate --uuid "<some_long_string>" --restorefile /etc/lvm/archive/VolumeGroupName_XXXXX.vg <PhysicalVolume>" below:

Code:

View 3 Replies View Related

OpenSUSE :: Lvm2-clvm Will Not Install On 11.3 X86_64

Jan 4, 2011

Running 'zypper install lvm2-clvm' results in a message: Resolving package dependencies... Problem: nothing provides libcpg.so.2()(64bit) needed by lvm2-clvm-2.02.45-16.2.x86_64 Solution 1: do not install lvm2-clvm-2.02.45-16.2.x86_64 Solution 2: break lvm2-clvm by ignoring some of its dependencies So it cannot find the cpg library, which appears to be a part of openais (if I believe google). I have configured the following repositories:

[Code]....

What could be the problem here? Am I just missing a repository or is cluster LVM not supported on opensuse 11.3?

View 9 Replies View Related

Server :: Maximum LVM2 Logical Volumes ?

Sep 15, 2010

Are there any maximum amount of logical volumes a LVM2 volume group can contain?

View 1 Replies View Related

Server :: Recover Raid 5 Array + LVM2?

Jan 27, 2010

I had a raid 5 + lvm 2 array and lost a disk. While it was recovering the array, the power was down and recovery stopped. When I recovered the power and start the machine the array was unable to start, it was degraded and the states were different between disks. Every disk watched the array in a different way. I put you the states:

Quote:

/dev/sdd1
Number Major Minor RaidDevice State
this 0 8 33 0 active sync /dev/sdc1

[code]....

The first part in /dev/sdc1 is the same for all the devices, I just post you the states. Another thing is tha all the devices say that there is no superblock It seems that 3 disks are "active sync" but the states of the others doesn't match between them. And /dev/sdd1 is spare, the disk I added manually at first to start the recovery process.

View 3 Replies View Related

Software :: Log File Size When Mirroring With LVM2

Feb 11, 2010

I'm going to be using LVM2 to mirror 2 250GB drives for redundancy and fault-tolerance. As per the best docs I have found on mirroring [URL], I am going to keep the log file on a separate physical volume, however I can't seem to find anywhere a good reference for how much size I need to save for the log file. Everything says "small," but "small" doesn't really help in the real world :-).

I have plenty of space on the 3rd pv but want to leave as much of it as possible for other stuff. Should I leave 32MB ? 500MB ? 1GB?

View 1 Replies View Related

Software :: LVM2 Pvmove A Multi-pv LV In One Step?

Oct 13, 2010

I've a VG that contains one LV which consists of several PVs in a concat. Now I want to pvmove the whole construct to a new set of PVs in one step! Of course I could move PV by PV but is it possible to move them altogether?

View 2 Replies View Related

Software :: Removing Broken Disk From LVM2

Jun 14, 2010

I had a 400GB hard drive fail on me today that was part of an lvm2 logical volume made up of it and 3x1TB hard drives. I did a partial mount of the lv to assess the damage, and it wasn't bad. All the important stuff is either on the other disks or backed up. So, I want to reduce the lv and remove this disk from the vg.

View 2 Replies View Related

Slackware :: Way To Restore Deleted LVM2 Volumes?

Jun 12, 2010

I was trying to remove a logical volume, but used the lvremove command incorrectly.

I did something like:

Code:

Thinking it would remove somelv from myvg

But instead it said "volume group somelv: not found" and then deleted all the logical volumes in myvg.

Is there any way to restore them or is it reinstall time?

I had some backups of my system, but unfortunately they were stored on a logical volume in the same volume group.

View 6 Replies View Related

CentOS 5 :: Yum Update Dependency - Kpartx And Lvm2

Jan 5, 2010

I'm trying just a generic yum update to bring the machine up to date, I'm running into problems with two packages and their dependencies, kpartx and lvm2

I've removed any additional repositories, and performed a yum clean all

I think my problem comes down to device-mapper, it's asking for 1.02.32-1 to install lvm2 however if I run a yum list device-mapper it only shows 1.02.24-1.el5 as installed, and it is not marked for update. I've tried downloading the rpm directly, If i try to install the rpm with yum I'm told that there is nothing to do, if I try to install directly I run into problems with conflicts with the already installed package.

The kpartx seems dependent on device-mapper-multipath

I'm getting this problem on 2 machines.

View 11 Replies View Related

Fedora Hardware :: Remove Unused Space From Vg LVM2?

Nov 23, 2009

This is my situation: on a LVM2 partition, i have shrink a logical volume to free new space for a new partition.

My system-config-lvm screen: http://forums.fedoraforum.org/attach...1&d=1258988216 code...

View 9 Replies View Related

Fedora :: Win7 Install Changed Part' To Lvm2?

Jun 1, 2010

I've done a search thru the forums on a recent headache but couldn't find anything. now we all know that windows installations knackers the grub boot-up, and it becomes modus-operandi to repair the boot loader, with a live distro. however, in my current dual boot system (vista.sp2/fedora12), i've done a clean install of windows7 over the current windows ntfs partition. as standard, the boot menu would vanish. but when i put in the live-linux cd, gparted now shows the fedora partition (sda6) as LVM2. i'm somewhat of a neophyte with linux, but fedora12, suse11.2 and ubuntu don't seem to yet support this file system. since i don't have critical data on the fedora partition yet, i usually wouldn't mind reformating this part', but the wireless chipset on my laptop cost a fortune on cups of coffee and beer to install, and in addition i used the fedora12 FEL spin and want to keep the installation intact. is there anyway to make the LVM2 indentifier back to ext3 or 4 and repair grub form there (without loosing the current partition kernal etc.)?

View 2 Replies View Related

Fedora Installation :: Extend A LVM2 Group On FC13?

Nov 5, 2010

I have installed my Fedora on a LVM2 group and alocated a total of 10 GB. Which of course is abusrdly and ridiculously low space. As a matter of fact I did even more stupid thing - I allocated 4 (four) gigabytes for /swap !

I am complete novice in Linux and fedora, but I want to extend my /root lvm drive with at least 20 gb.

I burned parted magic on a CD and tried to manage the LVM2 grop, but it said LVM2 was not supported in parted magic. And so I tried the Fedora Partition Manager and got lost in what and how. I tried reducing the /swap space and increasing the / space, but failed - I could only select zero Mbytes for swap space, and had the only option of decreasing space for /, which is really not what I want to do.

What I want to do is extend the space for the whole LVM2 Logical Group , which is now 10 GB total for / and /swap. Or at least I'd like to reduce my /swap size and increase my / size.

View 2 Replies View Related

Red Hat / Fedora :: How To Convert Root Filesystem Into LVM2 Configuration?

Jan 22, 2009

i want to know that if i install linux on to my pc with SWAP/ boot as partition and after that i want to convert them to LVM2 type configuration .how can i do that.i want to create a system having logical volumes from that system without reinstalling these partitions should convert into two LV's
LV 0 for root
LV 1 for swap

both in one volume group.

View 1 Replies View Related

General :: LVM2 On F10 - Reduce LVM Size And Remove 2 HDDs?

Oct 15, 2009

I have the following HDDs in an LVM2 configuration on an F10 box running Mythtv :-

# pvscan
PV /dev/sda2 VG VolGroup00 lvm2 [297.88 GB / 0 free]
PV /dev/sdd1 VG VolGroup00 lvm2 [931.50 GB / 0 free]
PV /dev/sdb1 VG VolGroup00 lvm2 [298.06 GB / 0 free]
PV /dev/sdc1 VG VolGroup00 lvm2 [931.50 GB / 0 free]
Total: 4 [2.40 TB] / in use: 4 [2.40 TB] / in no VG: 0 [0 ]

The system never uses more than about 250GB of HDD at any one time, so I would like to remove /dev/sdd1 and /dev/sdc1 from the LV and then from the machine and leave /dev/sda and /dev/sdb alone.

Does anyone know that if I use the command "system-config-lvm" to reduce the total LVM size to say 580GB, whether all data is preserved (I don't have any way at this stage to backup up 250GB of data, unless I buy more HDDs and that is the whole point of this exercise anyway - remove the two terrabyte drives to be used as backup disks).

Once I am happy that the data is safe, I will use "pvmove" and "vgreduce" to remove both terrabyte drives.

View 8 Replies View Related

General :: Mounting Lvm2 - Copy Some Files From Another Harddisk

Mar 8, 2010

I have just reinstalled Centos 5.3 on a new harddisk. I would like to copy some files from another harddisk which is also install with Centos 5.3. I have followed some guide in the internet but failed to mount the old harddisk. I got "unknown filesystem type 'lvm2pv'" error when trying to mount /dev/sdb2.

Details:

View 5 Replies View Related

Software :: LVM2 Special Device Missing After Reboot?

Apr 15, 2011

I've got an LVM2 VG containing 1 LV running on SLES11 SP1.

I have an entry in /etc/fstab to remount them at boot:

Code:
/dev/myVG/ibmLV /opt/IBM ext3 defaults 0 0
Whenever I reboot the whole VG disappears and I find the following in /var/log/boot.msg:
Code:
<notice -- Apr 15 12:35:55.954677000> boot.localfs start
Waiting for /dev/myVG/ibmLV . no more events

[Code]....

View 3 Replies View Related

CentOS 5 :: LVM2 Clustered Mirror Monitor And Repair?

Apr 8, 2009

I am using LVM2 Clustering to mirror logical volumes between 2 different storage arrays ( iscsi target hosts). Everything is up and running fine, but I would like to be able to monitor the status of the mirror(s), and "re-sync" them if necessary.

I have attempted the locate the information from Google. From what I have read, lvdisplay -v should tell me whether the mirrors are in sync, but it either is not, or I am simply miss reading it. I have come also across information stating lvchange -m [ 0 | # ] should be used to add or remove mirror copies. Is the is correct / only way to "resync" a mirror, in the event that I can determine the mirror is actually out sync?

For those who are familiar with Symantec's VERITAS volume manager, I am looking get the equivalent information related to plexes from vxprint, the equivalent function from /etc/vx/bin/vxreattach -br, and the progress information from vxtask list. I hope the information is currently "search challenged", or I am simply not fully comprehending what I have found.

View 1 Replies View Related







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