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


ADVERTISEMENT

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

General :: Adding And Removing A User?

Mar 13, 2011

command for adding a user and removing a user.

View 3 Replies View Related

General :: LVM Situation - Adding New Drive And Removing Old One

Mar 6, 2010

Server (LVM):
500GB
320GB

I want to install a new 500GB and remove the 320GB, of course moving the data on the 320GB to the new 500GB. I have an external 1TB in enclosure that I can plug in to move the data over, but how do I move only the data on the 320GB to it?? I found this [URL]. But that is only to move the data to a new replacement disk, but my external is only temporary to move the data from the 320GB until I remove it+install 500GB, then move the data back. Not enough space on the 500GB already on server to move everything from 320GB to it, just in case that seemed the obvious thing to do.

View 1 Replies View Related

Ubuntu :: Adding And Removing A Desktop Envoirment

Mar 7, 2011

I want to try out ubuntu with xfce, thing is, I don't know how to safely add and remove a desktop environment. Anyone know how to do this so I don't break ubuntu?

I don't want to install xubuntu, partially because I want to learn how to do this stuff myself.

What is a safe way of installing xfce and removing it if I didn't like it?

View 5 Replies View Related

Hardware :: Adding / Removing Drive Names Changed

Sep 29, 2010

After a couple of years, I decided this weekend to replace my old slackware 10.2 with the latest stable version 13.1 64 bit. The change log tells me that with the new kernel 2.6, the old IDE/ATA system has been removed and the libata is used instead. That /dev/hda become /dev/sda and so on. No problem sofar, however ...

My FIRST hardware configuration was:
One SATA drives connected to the onboard SATA controller [A]
Two PATA drive connected to PCI IDE controller 1 [B & C]
Two PATA drive connected to PCI IDE controller 2 [D & E]
One PATA drive connected to the onboard IDE controller [F]

So initially the system had 6 disk drives. Booting from the Slackware install dvd, I found out that the drives are detected in the following order.
Onboard SATA controller
PCI IDE Controllers
Onboard IDE Controller

And the drives are get names in the following order:
/dev/sda : SATA disk @ Onboard SATA controller
/dev/sdb : first PATA disk @ PCI IDE controller 1
/dev/sdc : seconde PATA disk @ PCI IDE controller 1
/dev/sdd : first PATA disk @ PCI IDE controller 2
/dev/sde : seconde PATA disk @ PCI IDE controller 2
/dev/sdf : PATA disk @ Onboard IDE controller 1
sda upto sde are configured to us with LVM, so 4 disks are added to the volume group.
sdf is where Slackware is installed (sdf1 = swap; sdf5 = /boot; sdf6 /; sdf7 = /usr; sdf8 = /home; sdf9 = /var; sdf10 = /tmp)

Here is the problem:
When a 7th disk is added (another SATA drive @ Onboard SATA controller) then all names are changed like:
sda remains the same
sdb new added SATA drive
sdb -> sdc
sdc -> sdd
sdd -> sdf
sdf -> sdg

Obviously booting without LILO parameters results in a kernel panic, so I booted with: Linux boot=/dev/sdg root=/dev/sdg6. This does not give the kernel panic, but results in an option to check a drive and gives an option ctrl+d to boot normally. However it reboots and I get stuck at the same again.

How does LVM handle the naming shift of the drives? The 4 drives that are part of the volume group contain critical data!!! If needed, I can reinstall Slackware again from dvd with all 7 drives attached (to avoid naming shift), but how do I recover my volume group? What if one of the drives dies or is removed, then naming shift happens again.

View 1 Replies View Related

Networking :: RIP V2 - OSPF Dynamically Adding And Removing Nodes

Dec 3, 2009

I am deciding to whether use OSPF or RIPv2 on my network. The key point for me is how good each of them are in dynamically adding and removing nodes. I am pretty sure that OSPF works well if a node is suddenly dropped or a new one is introduced( Please correct me if I am wrong). how good RIPv2 is at this.

View 1 Replies View Related

CentOS 5 :: Removing Root SSH Access / Adding New User?

Jul 13, 2010

I am going to remove root access via SSH which seems fine but I don't know how to add a new user, do I have to create a group first or are there existing groups I can add a user to, and does it matter which group I add a user to if I want this user to have root access with sudo?

View 11 Replies View Related

Fedora :: Adding/removing Software Can't Find A Progress Bar Indicator?

Jan 5, 2010

i use a fedora distribution, when accessing administrator->add remove software (GUI) is there a way to know the download progress/download rate of the selected packages ? as i cant see any progress or indication on what is happening there..i know i can use the terminal to get packages but i was wondering if there is a way to see the progress when using the GUI instead of the downloading icon on the button left. as for ex an ubuntu distribution shows a progress of each package status while downloading as now i select the packages and it only tells me that it is downloading but on what speed or what are the packages left/downloaded i don't know.

View 2 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 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

General :: Convert Free Space From Lvm2 To Ordinary Partion

Apr 22, 2010

I have read a couple of threads that deals with resize partion and then create new lvm partion.That is not what I want to do! I have resized my partion from 275 GB to 150 GB. the reason for this was hoping for more space to be able to create a normal partion with cfdisk but that does not seem to work.
I have free space, but how can I use it to create room for a new ordinary partion.when the default partion layout for fedora/centos is to fill the whole space up whether you use it or not?

View 5 Replies View Related

Debian Multimedia :: Removing Epiphany Without Removing Half The System?

May 31, 2011

I know a bunch of commands and I am comfortable using the terminal, I even set a powerpc server but I can't figure out how to remove epiphany on this new computer I'm setting up. I didn't install anything with tasksel. I installed gnome and xorg afterwards... I load it up and 'startx' just fine. then I check around for the programs that were installed. I lik'em gimp, lot's of utilities. gedit. anyway I find epiphany, which I have already established that I dislike, I immediately go to the root terminal (another nice program that comes with gnome) and type apt-get remove epiphany-browser-data the output says it will be deleting gnome... however I have researched and found these are simpy meta packages that don't really matter.... however under the section that states all the packages that will be removed by autoremove there is a huge list... I doubt these packages are safe to remove. how to remove epiphany without removing a huge amount of probably needed software

View 14 Replies View Related

Ubuntu Installation :: Removing Evolution From Synaptic Vs Just Removing The Applet

Feb 27, 2011

what i did was, remove evolution mail from synaptic, what i wanted to do was just remove the indicator applet from the task bar. i read a bunch of bad stuff about removing evolution from synaptic vs just removing the applet.

im worried. did i break anything or put my security at risk. after, i used a command (older) (sudo apt-get install ubuntu-desktop)to install ubuntu desktop. because i thought that it would fix evolution. then i went to synaptic and installed a package called evolution. i rechecked evolution in applications menu. however, i notice that i have both a checkable evolution and two evolution icons. nothing 'seems' broken. im not sure if it ever was. and evolution calender pops up as normal, as does the the installed plain evolution. they both seems to be an exact copy of the other.

all i really wanted to do was remove the indicator applet. did i make a serious mistake. since ive had ubuntu, ive reformatted a lot because i was worried i made a mistake of some kind. however now im into the more "make a mistake and fix it stage' as im pretty happy with my current desktop and have worked hard to customize it. the command, sudo apt-get remove indicator-messages removed the mail icon. i still am worried that i broke something, or put my security at risk. also, now i have two mail icons. evolution mail and calendar, and another just called evolution.

View 1 Replies View Related

Fedora :: Removing Notifications And Safely Removing Drives?

Aug 25, 2010

These should be my last pleas for help with regard to Fedora 13. I've been unable to turn off the notifications that appear in the top right corner, despite a decent amount of searching on google. I can't remove any notifications package without removing a bunch of important software along with it. Also, F13 refuses to "Safely Remove" either of my external disks. I have to yank out the usb cord, touching wood each time.

View 5 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

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 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 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

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

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

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

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







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