Ubuntu Servers :: Contents Of LVM Volume Disappeared?
Mar 25, 2010
I have an LVM group containing three 500GB drives in my NAS/home server. Last week, the contents of this group(ext4) disappeared with no apparent explanation.
I've been looking around for solutions, and here's what I've tried:Restoring the LVM configuration using vgcfgrestore with the most recent file from /etc/lvm/backup/. This restored just a few of the folders. Run fsck on the group. Lots of errors, all fixed, but nothing more appears. Run badblocks on each of the disks, no errors found.
It seems there is nothing wrong with the drives physically, or with the software configuration, so where have the files gone?
Even if I can't restore the full volume, if I could just grab what I can from the drives.
View 2 Replies
ADVERTISEMENT
Jul 22, 2011
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.
View 1 Replies
View Related
Jan 10, 2010
Is there any way to have Volume Manager in systray without PA?
View 5 Replies
View Related
Feb 11, 2011
Recently I installed JACK and Ardour to try out. Later I decided against it and so I uninstalled them. After restarting my computer, I noticed that the sound applet has disappeared from the panel, although the battery and mail icons are still present. There is still sound coming out of my laptop speakers, but it is stuck at whatever volume I had it set on before the last time I shut down. Volume sliders inside Banshee and suchll function, but I cannot change the overall system volume, and my keyboard shortcuts for this have stopped working as well. When I go into System->Preferences->Sound, all I get is a message that says "Waiting for sound system to respond." and nothing happens. I've tried searching around for a solution, but nobody I could find seems to have had aimilar problem, and none of the various other solutions proposed have worked for me. I'm on Ubuntu 10.10 by the way.
View 5 Replies
View Related
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
View Related
Oct 17, 2009
Because of a horrible problem (volume bursting, this is known bug), I completely removed Pulseaudio and some related packages. So I'm now using pure ALSA, and it's working fine. Yet, the volume control tray icon was disappeared. How can I recover it?
View 9 Replies
View Related
Aug 8, 2010
After rebooting, I found that the server couldn't see the network. The machine has dual gigabit ethernet (eth0 and eth1). eth0 is connected to the internet, but disappeared. ifconfig used to show eth0, eth1, and lo, but now only shows eth1 and lo. If I boot into rescue mode I can get internet and ifconfig returns eth0 and lo. Any ideas on how to fix this?
I apologize in advance if I ask any noob questions. I'm not a very experienced Linux user.
View 9 Replies
View Related
Apr 8, 2011
So I finally managed to get my Samba file server working () but now I have a question. On the server I have 4 folders, each being used for a certain topic. How would I set the folders as read only but not the contents, so that way remote users can read/write to the folder but can't delete or rename the folder itself? Also, if I restart the Linux box it will cease to show on the Windows Network unless I delete the Samba share and remake.
View 1 Replies
View Related
Jan 4, 2011
I added another disk in server and create mount point in fstab:
/dev/VolGroup00/LogVol00 /opt ext3 defaults 1 2
Everything is working perfect... halt, boot, system... but when I wanna to reboot with a command sudo reboot, it hangs at the end of all initialization when it's rebooting and some number. If I remove disk in fstab, than reboot working.
View 3 Replies
View Related
Apr 1, 2011
I have a software raid array (in this test case a mirrored set of two 500GB volumes) and I want to move them to another OS installation on the same hardware. (This is testing in preparation for a physical move two arrays onto a single server.) I had the array up and working (surviving reboots), wrote a test backup onto it in a folder.
Shut the machine down, re-installed ubuntu, got it up and running, then installed mdadm, rebooted with the array powered up and ran mdadm --detail --scan , expecting to see mdadm at least find the parts of the array. Instead, I get nothing. I even added -vv to get more verbose output. de nada.
[Code]...
View 9 Replies
View Related
Aug 17, 2011
I'm installing a webserver in a Ubuntu 10.04. I want to install the webserver in a separated volume to backup it easily.
This is a resume:
Code:
apt-get -y -q install xfsprogs
mkfs.xfs /dev/sdf1
mkdir /ebs
mount /dev/sdf1 /ebs
[code]....
View 2 Replies
View Related
Aug 16, 2011
I recently installed Apache on Lucid Lynx (Macbook 1.1) using the following tutorial: [URL] Everything appears to work correct except that when I browse http://localhost/ in Firefox, I cannot see any of the directories. Although, files such as html documents are visible. When I view the /var/www directory using the default graphical file browser, all of its child directories have Xs over their icons. When I attempt to open the directory "js", the following error message displays:The folder contents could not be displayed.
You do not have the permissions necessary to view the contents of "js".
I figured this was preventing Firefox from viewing the directories. So I launched it with the "gksu" command to see if it would help. I still couldn't see directories when browsing http://localhost/ I'm basically trying to achieve functionality identical to the MAMP local server for Mac OS X. I'm about to start a LAMP project for a new client so having this up and running is important!
View 5 Replies
View Related
Feb 2, 2011
can i use one samba share with a folder showing the contents of another directory.shortcuts don't work on non ubuntu systems and it won't resolve links to files no on the share
View 5 Replies
View Related
Jul 24, 2010
I've got a file server with two RAID volumes. The one in question is 6 1TB SATA drives in a RAID6 configuration. I recently thought one drive was becoming faulty, so I removed it from the set. After running some stress tests, I determined my underlying problem hadn't cleared up. I added the disk back, which started the resync. Later on, the underlying problem caused another lock up. After a hard-reboot, the array will not start. I'm out of ideas on how to kick this over.
Code:
$ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
[code]....
View 4 Replies
View Related
Jul 7, 2011
I have an lvm volume group VG_GUESTS and inside it alogical volume LV_NTFSDATA that was connected to andformatted to NTFS by a guest virtual machine (KVM). I can mount the 1st NTFS partition on that lv manually like this:
Code:
sudo kpartx -a /dev/VG_GUESTS/LV_NTFSDATA
sudo mount -t ntfs-3g /dev/mapper/VG_GUESTS-LV_NTFSDATA1 /mnt/NTFSDATA1
[code]....
View 1 Replies
View Related
Aug 30, 2010
I have a relatively new server (Ubuntu Server 10.04.1) with a "/backup" partition on top of LVM on top of an MD raid 1.Everything generally works, except that it freezes during the fsck phase of bootup, with no errors. I've given it 20 minutes or so. If I press 's' to skip an unavailable mount (documented here), it reports that /backup could not be mounted.here are no LVM related messages in /var/log/messages, syslog, or dmesg.
When I try to mount /backup manually, it reports that the device (/dev/vg0/store) does not exist. Apparently the volume group was never activated, though all documentation seems to claim it should happen automatically at boot. When I run "vgchange vg0 -a y", it activates the volume group with no issue, and then I can mount /backup./etc/lvm/lvm.conf is unchanged from the defaults. I've seen posts mentioning the existence of a /etc/udev/rules.d/85-lvm2.rules , but no such file exists on my server, and I'm not sure how I would go about creating it manually, or forcing udev to create one.There are some open bugs describing similar problems, but surely it doesn't happen to everyone or there'd be many more[URL]
View 5 Replies
View Related
Jan 6, 2011
All my data is stored on a separate device/partition: a 2TB USB disk with one ext4 partition. I have 3 more USB disks: 1x 1TB + 2x 500GB = 2TB right ? I want to backup my data from the 2TB volume to the (older/slower/cheaper) other volumes combined. I am thinking to use LVM to group the 3 smaller USB disks into one 2TB logical volume and use that to back up the 2TB primary volume. Do you think that is a good idea? In case of disaster I can replace the 2TB primary disk and restore from my 2TB logical volume right ?
What happens if :
I have to replace my internal hard disk and reinstall ubuntu? Can I re-attach the logical volume ?One of the physical volumes of my volume group dies ? Can I remove it and replace it with a new physical volume (bound to have other dimensions) ?Understandably I will loose my backup data?PS: running Ubuntu 10.10 .
View 5 Replies
View Related
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
Jul 17, 2010
Is there a way to default volume to 100% in the terminal with gnome-volume-control-applet or any other program? I am setting up a dedicated Zsnes machine which boots into Fluxbox but the volume is muted by default. There isn't a man page for gnome-volume-control-applet.
When I log into Gnome the volume is set to 100%, but Fluxbox is always set to mute.
View 1 Replies
View Related
Oct 29, 2010
I've got my xubuntu 10.10 install just about perfect on a little acer aspire d250, apart from a small sound useability issue: In the interests of simplicity and resource usage I removed pulseaudio. After a bit of fiddling I got it so that my USB soundcard (ProDac) is recognized and automatically set as the default soundcard when plugged in. Any sound applications automatically use the USB sound if it present, no need to around with pulse. The only problem is that my netbook's volume control keys still only control the master volume of the inbuilt soundcard, and have no effect on the usb sound. Does anyone know of a way to change which sound device these keys actually effect? I'd like to write a little script so that when the usb device is detected the keys are remapped.
View 1 Replies
View Related
Mar 7, 2011
I'm running Kubuntu 10.10 32 bit on an old DFI KT600AL motherboard based system using the onboard VIA 3058 AC97 audio (because it supports front panel audio connections and none of the add-in PCI soundcards I have do). I have an old Gateway/STB TVPCI TV tuner card (mainly wanted the FM radio part to work) hooked up to the cd audio connector on the motherboard because the digital audio over the pci bus apparently isn't supported for this card (neither is the onboard analog mixer on the tv tuner card, I had to hack a CD-ROM audio cable and solder it to the audio outputs of the tv tuner module on the TV tuner card). When I use the master channel as the master channel (selected in Kmix) then as one would expect it affects the output volume of all other audio playing on the system except that which is being handled by the PCM channel. On Windows the PCM channel was also affected by the "Volume Control" slider such that ALL volume levels were reduced when moving the slider. I'm hoping someone can help me figure out how to make it work like this on Kubuntu.
First off I should warn you that I (like many users of older hardware that is not properly supported under PulseAudio) have uninstalled PulseAudio (because it's garbage) and am using Alsa to manage my audio hardware. I would think that there would be some way to do this using the 'amixer' application to add the PCM channel as a component of the 'Master' channel so that when the volume is turned down using the 'Master' channel control it will affect the PCM channel too (at least the output to the speaker jack, not necessarily the capture or mix volume though), but I'm not really any good at doing things from a terminal window and the options for the amixer command kind of confused me.
View 1 Replies
View Related
Mar 24, 2011
I used Ubuntu 10.10 (64 bit) on IMac i7. As far as, I remember, after installing Pulse-Audio Equalizer, for each restart of the system, after login screen, system sets volume to maximum value. What can I do?
View 1 Replies
View Related
Jun 12, 2010
since using 10.04 I have a big problem with my usb headset (freetalk everyman)
1. Problem: I cannot regulate the volume of the phones (output) anymore with gnome-volume-control. By default the volume is set to 100% which is way too loud. When I set it under 100% there is no sound at all. Values over 100% work.
2. Problem: The X server is freezing iregulary when I connect the headset and disconnect it, Magic SysRq works. I checked Xorg.0.log and found out that it recognizes the usb headset as keyboard:
[Code]...
View 6 Replies
View Related
Sep 9, 2010
I'm using 10.04 now and it runs ok, except one strange thing in the Volume control applet. Sometimes, when I click on the volume slider, it moves up. Even if I try to slide it down, it moves up on every click. The same when I click left of it - it keeps moving up! This is very annoying at night when the music gets loud and wakes everybody. It happens with or without Compiz turned on
View 3 Replies
View Related
Oct 31, 2010
I am struggling with a problem with the volume control... when i try to adjust the volume with the sliding bar i can not do it. If i put the scrollbar to the 0 position, it is muted. when i move it to anywhere else, i get the full volume. From other programs like vlc, i can adjust the volume with no problem.
View 2 Replies
View Related
Apr 10, 2011
My volume control seems to have only three settings: TOO LOUD, VERY QUIET, OFF. If I adjust the Master volume slider from the Panel, only about the right 1/8th has any effect and if I slide it past about the 95% mark, I get no sound at all. At the far-right end of the volume control, I get total volume. It's basically like the slider only has any impact in the top 5% of it's space. Below 95% of the slide, there is zero volume.
It's so drastic, that one tap down of the volume button on my keyboard kills the sound (because it nudges the slider past that 95% mark). This happens in the Audio settings, etc., system-wide. If I adjust the volume for an individual app from within the app (MPlayer, for example) it behaves exactly as expected (that is, app volume works smoothly, it's just master volume that has this issue). I have run through most of the "obvious" things-- I'm wondering if I broke something by installing the extra KDE packages to get Amarok to work.
View 3 Replies
View Related
Mar 17, 2010
In Intrepid Ibex, I was using the left Super key as Volume Down and the right Super key as Volume Up, because it was just so convenient.
However when I go to the "Keyboard Shortcuts" window in Karmic, it doesn't let me assign the Super keys to anything. I mean like, I can use the Super Keys along with other keys, but not by themselves.
Is it somehow possible to use the Super keys for Volume Up and Volume Down in Karmic?
View 3 Replies
View Related
May 1, 2010
It seems that when I adjust the volume with the volume wheel on the side of my notebook, the OS messes up. Nothing is clickable, I cannot type anything, in order to get a working computer again I have to hard reset it.Why is this happening? I have never experienced this. I have a Toshiba Satellite that I recently installed Ubuntu on.
View 5 Replies
View Related
Jun 13, 2010
I'm running squeeze (last updated today), and everything has been working great. There is only thing that would simplify my life minutely..Anybody know how can I have the volume buttons on my laptop change the "pcm" channel volume rather than "master"? If they could control pcm, then I could adjust the volume coming out of my headphones or my computer speaker (both controlled by pcm, but not master...seems strange to me) with just one click.I tried to find this info online, but all results seem to refer to an older version. The simple "click here, set this" solution no longer is possible.
View 2 Replies
View Related
Feb 27, 2011
Debian Squeeze 6.0.0 on a Thinkpad T43, sound volume is not synchronized between the laptop volume buttons and GNOME's Volume Applet. So if I turn the volume all the way down with the physical buttons, the volume applet may still indicate 75%.I did not have this problem in Debian Lenny. Pressing the volume buttons used to show a volume bar on the screen, as did pressing the mute button.
View 8 Replies
View Related