Ubuntu :: Hangs Up When Creating LVM Snapshot Of /root Volume?
Aug 14, 2010
Recently, I've tried to create a snapshot of my /root folder in 10.04 (I remember to have done so a couple of times without trouble).I used the commandHTML Code: Code: lvcreate -L10G -s -n rootsnapshot /dev/server/root Without a hint of HDD activity, Gnome (?) hangs up - I can move the mouse, and the clock is moving on, but I can't click on anything. No HDD activity, and this goes on forever (after a while, the whole system locks up). This happens each time when I try to create a snapshot.
I can cause the kernel to panic immediately with the following command. lvcreate --snapshot --name Snap --extents 100%FREE VolGroup00/LogVol00 The last line of the panic message is "<0>Kernel panic - not syncing: Fatal exception" If I create a snapshot of any other volume it works just fine. It only panics on LogVol00 which is my root fs.
I'm running 5.4 after update from 5.3. It didn't work with 5.3 either. This is a 32-bit guest running in VMWare Server 2.0.1 which is running on FC10 x86_64. I've tried the guest in both UP and SMP (2 cores) modes and observed no difference.
Could we create mirror of the existing volume in Linux. Is yes please let me know the procedure to create the mirror of existing Logical volume in Linux.
full snapshot of ArchLinux Repo for x86_64I want to use this as my restore backup should I need to reinstall Arch without network support.How do I build several *tar volumes of my /mount/my_repo to fit into 4.5GB DVDs ... the thing is 18 GB size...How do I extract all the *tar created to a folder later on...? is it the same as extracting a single *tar, will tar find all volumes in the same directory level so as to continue extracing or do I need to merge them in some way
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?
1) Why would I create a new volume group to add a new hard drive to a system, rather than add the drive to an existing volume group?
2) If I created a new volume group and added a new hard drive to it, would I see the total free space (I see 30 GB now via the file browser)? For example, if I have 30 GB free on the main drive (with the OS), and I add a new drive of say 40 GB in a new volume group (using LVM) would I see 70 GB of free space? That doesn't seem to happen.
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?
I set my drives up with MY boot loader, and I boot several OSes.I installed Ubuntu and told it to place grub on the / drive, which is where I always put it with any other install and it works fine.I find now that despite telling the install where to put it, you guys have taken it upon yourselves to alter the MBR of the volume ANYWAY!
SO, what I need to do is re-install grub, but I see that you also have no repair facility on this disc either. All I want to do is use MY boot loader. Currently, when I point at the / volume it just hangs with a non-blinking cursor in the upper left.No other Linux installs I have performed over the years do this. I want the drive to boot by merely pointing my bootloader at that volume.It always has in the past, so what did you guys change? I want NO action on my MBR, but I DO want a working grub on the actual root volume, which is NOT the first volume on the drive.
I am using Lubuntu 10.10 and have installed my application that I need. What I need is a link to the desktop that will execute the program from the /usr/share/test directory. When I execute the program I need to use "Sudo" in order to run in. how would I add a symbolic link the desktop with the appropriate permission to run the executable without compromising security. I tried everything but cannot get it to execute under ubuntu:
how to set up a fake ROOT dns that I would be using inside my virtual test environment with private address range. Basically, I want to create a ROOT server that will only contain information to two separate dns servers that are authoritative for its respective domains/zones.
I can't seem to find anything on the net about this subject. Basically, how is a ROOT server configured and how should the fake hint-file for authoritative dns-servers be configured?
I want basically domain.xx and domain.yy to be able "find eachother" by using response from ROOT server. I know I could set up forwarders to respective domain on each of the virtual DNS server instead, but I want to experiment a bit the way I stated above - with a "real" (fake) ROOT server, if it is possible!
I've grown rather fond lately of creating tmpfs here and there to speed up various activities. (I think it is awesome that RAM can be mounted to a directory!) The downside though, is that this requires root privileges. I don't really like this because then I either have to go root each time I want a tmpfs, or I have to add a new line to fstab each time I want a tmpfs in some new, odd place. (This becomes doubly weird when the odd place is somewhere like inside my personal home directory.) Is there some other utility out there that can mount RAM as a filesystem, but allow mounting to be done without root privileges? It seems like this shouldn't be an issue, since a normal user has the ability to create and manipulate directories as well as borrow as much RAM as he wants.
I am an experienced Linux user, but have never used Salix before. I have a root account set up on my other Linux distros, but can not figure it out using Salix. The reason I want a root account in Salix because I believe in freedom of choice, and my choice always was and always will be to have a root account set up so I can login as root. I am aware of the risk involed in creating a root account.
I'm getting an error message that something along the lines of "volume "filesystem root" has only 25mb space remaining". How do I increase the volume size so I never have to worry about it again? This is the 3rd time I've tried ubuntu and it's sticking more and more but this has me thoroughly perplexed. I've got a 320GB HDD partitioned 3 times with a Linux partition being 7GB.
My computer: (Lenovo T61 Thinkpad, running fc11 for about 2 and half months). Apparently I when I made my partitions I didn't leave quite enough room in my root directory, because I just completely ran out. Here is how my hard drive is partitioned:
The root had about 15 gigs on it, which just filled up. When I restarted to see if that would help, when it rebooted it went fine up to the log-in screen. Instead of the usual fedora blue background, it was black except for the log-in window, which looked very low-res. A little pop-up kept coming up saying the GNOME power configuration settings failed to load or something. When I logged in, the whole screen was black except for the mouse, and I could get no response. I have plenty of space left in home, so I rebooted to rescue mode using the first fedora installation disk, and tried the following command:
Code:
lvreduce -L90G /dev/mapper/DRIVE
which only returned:
Code:
lvreduce: relocation error: lvreduce: symbol dm_tree_node_size_changed, version Base not defined in file libdevmapper.so.1.02 So I couldn't reduce the size of home, and thus couldn't increase the size of root.
IN SUMMARY:
a) the lack of memory in root the probable cause for my computer not working
b) there a good way to reduce home and increase root while running this live disk
Note: When I am looking at it now in the logical volume manager, it says that on the whole physical volume there is only 400MB free. However, when I last looked (about 30 mins before I started having problems) it said there were about 100 Gb free.
Edit: Nevermind. I did some more research and it turned out to be more of a gnome power manager thing rather than a memory space thing, although I'm certainly going to increase my root memory now.
I've got a big problem. Earlier this afternoon I tried to unlock my screen, but the password dialog didn't appear (the background did, and I could move the pointer, but no dialog). So I restarted the computer, only for the Fedora bootup icon to get about 3/4 of the way full before the screen blanked out and I got the message "Boot has failed. Sleeping forever." I booted into the liveCD and opened the system installer to see if maybe I could just reinstall the system in place while leaving my data intact. When I got to the partitioning stage, my old partition layout was there...except one LVM volume group was totally missing. And this is the volume group that contained my / and /home, among other things. Another volume group sitting on a different RAID was still there, but ironically it was the one for short-term data.
I have three hard drives, using soft RAID and LVM. Each drive is split into 4 partitions. The first partition of each is part of a RAID-1 where /boot sits. The second of each makes up a RAID-5 on which sits my "Main" volume group for my important data (this is the one that has gone AWOL). The third of each makes up a RAID-0 on which my "Volatile" volume group sits (for /tmp, /var/tmp, and the like). The fourth is swap.
Is there any chance I can restore my volume group so my data can be recovered? I'm not sure if I've got the full layout with volume sizes written down anywhere.
Not sure how this came about but the box rebooted itself for some reason and refused to get past this stage. I went into grub and changed hde1 to hda1 but that did nothing. The disk is unreadable by another Debian box, it gives the error "Cannot mount volume". Also unreadable in Windows via programs such as ext2toifs or Linux Reader.
If I boot via the CD and bring up the recovery console I can browse to my data, seems all intact but cant mount a network share to move it off, also tried making a .tar of all my stuff and FTPd' it across but I only received a massive corrupted file. How to get my stuff of this drive or ideally make it boot?
I'm not able to hear any sounds from my system. The panel does not have the volume control button anymore. I'm not able to run System -> Preferences -> Sound. I get an error saying "Waiting for sound system to respond" And if I run 'pavucontrol' in the terminal, I get "Connection failed: Connection refused"
Also recently I've noticed that when I run some commands in the terminal I often get this message "Home directory /root not ours." Can this be related to the sound problem? I am on the system as root.
I forgot my root password for mysql, and after some searching I found several solutions to fix it. But none of them seem to work.I tried this article http://ubuntu.flowconsult.at/en/mysq...root-password/ with starting mysql with the --skip-grant-tables option. The problem is that nothing happens, it just hangs.Also tried the the --init-file option, that one runs fine, at least it returned to the command line. But the sql query in the file to which it point doesnt seem to do anything. The password wasn't changed to the one I specified in the sql file.Any idea what could be going on here, and how I could fix it?
I am trying to extend my / size as its full. Well the volume group is VolGroup00 & logical volume is LogVol00 but when. I run the command vgextend VolGroup00 /dev/sda8. It says volume group not found. Can it be because I have WindowsXP in my /dev/sda1, which falls under same Volgroup??
I installed Debain Lenny as a dual boot with ubuntu 10.10. Chose not to install Grub legacy in the mbr or in any partition because I thought grub2 could handle it. All went well, updated grub2 in ubuntu and it found Debian, but when I try to boot into Debain it hangs at - waiting for root filesystem. I've searched, but can't fathom why this is happening, much less how to fix it without just reinstalling it.
Running Gnome on Jessie. Have had Gnome hang a few times over the past few months. The hangs seem to be related to having open and / or closing a root terminal. It has happened on a Gateway AMD Phenom II tower and on my Gateway NV59 lappy with Pentium P6200.
I've just discovered that crontab is creating a new file in the root directory every time it executes a cronjob, and it doesn't erase over the old file so there are thousands of files in the root directory, they have the same name as the script file (appended with a numeral) but are all blank.here is what one of the cronjob's looks like[URL]
I have tried to install the newer version of hplip on Debian 7.8 because the standard version does not support my printer.
So I proceeded the installation according to the instructions in hplipopensource.com, but the installation hangs after I enter the root password as this image: [URL] ....
Just lost my harddrive. Bought a new one, installing Ubuntu 10.10. I would like to installa a couple of programs after my installation, wanting to use the machine to develop programs - so I am going to install Eclipse and Glassfish and tomcat and such.
When I am done with that I would like to take some kind of snapshot and burn to a disc. So if a crash comes visiting me again, then I am able to install my basics. This would save me from those boring moments in live.
Can I take a 'snapshot' of my installation, Could I then restore this in some easy way ?
I have a Dell Optiplex 760 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
running:
I tried to upgrade to FC11 via download and DVD and in both cases the install hangs on bootstrap right after remounting the root filesystem in read/write mode.
Since it hangs in this manner, I have not been able to gather any logs...