Fedora Installation :: New Install Selections To Preserve User Data In Logical Volumes?
Apr 1, 2009
I have Fedora Core 8 installed. I would like to reinstall it so as to get back commands that have been lost. To preserve my user data that has been stored in logical volumes, what selections should I make in the installation process? Are these selections essentially the same for Fedora Core 10?
View 5 Replies
ADVERTISEMENT
May 26, 2011
I have a setup that looks like this
[Code]....
and I'm dumped into recovery mode. However, if I remove these mounts from /etc/fstab via comments, I can wait for the system to boot (which it does very quickly) then mount the mapper devices myself. So what is going on? Has something changed wrt logical volumes, or is this just systemd? I can live with manual mounting, but any advice on resolving the automatic mounting situation would be great.
[Code]....
View 2 Replies
View Related
Jan 20, 2009
i cannot resize mounted lvm volumes with reiserfs by using yast like in a previous version 10.x !?
View 6 Replies
View Related
Jul 9, 2011
So today I needed to switch from openSolaris to a viable OS on my workstation and decided to install openSUSE after having good experiences with it on my personal laptop. I ran into some problems partitioning one of the two hard disks installed on the system. I was limited on the amount of time I could spend at the office doing the install so I decided to use LVM on the one hard disk that seemed to work okay.
I picked LVM because although I don't know much at all about LVM, I at least know enough that it would allow me to expand the root and home partitions once I get the 2nd hard drive working correctly. So now that I've gotten the 2nd disk working okay, I've created two physical volumes on the 2nd drive, one to expand the root partition and one to expand the home partition. So, my question is, can I expand the root an home partitions while they are mounted or should I boot into a live CD environment before I expand the partitions? If I could expand them without booting into a different environment, that would be so great as I don't want to have to drive out to the office again before Monday. BTW, I am a new openSUSE user and an ex Ubuntu user. I loved the Ubuntu forums but had to switch because I do not agree with the direction that Ubuntu is taking.
View 2 Replies
View Related
Mar 2, 2011
Is there a limit to the number of partitions/logical volumes you can create using the partman-auto recipes? If not, any thoughts on why my preseed using the values included below results in only a /boot partition and logical volumes root, swap, and user? Is there another way to achieve putting /, /tmp, /var, /usr, /usr_local /opt, etc on their own logical volumes with preseeding?
View 1 Replies
View Related
Feb 8, 2011
i have a fedora 11 server which can't access the ext4 partitions on lvm logical volumes on a raid array during boot-up. the problem manifested itself after a failed preupgrade to fedora 12; however, i think the attempt at upgrading to fc12 might not have anything to do with the problem, since i last rebooted the server over 250 days ago (sometime soon after the last fedora 11 kernel update). prior to the last reboot, i had successfully rebooted many times (usually after kernel updates) without any problems. i'm pretty sure the fc12 upgrade attempt didn't touch any of the existing files, since it hung on the dependency checking of the fc12 packages. when i try to reboot into my existing fedora 11 installation, though, i get the following screen: (click for full size) a description of the server filesystem (partitions may be different sizes now due to the growing of logical volumes):
Code:
- 250GB system drive
250MB/dev/sdh1/bootext3
lvm partition rest of driveVolGroup_System
10240VolGroup_System-LogVol_root/ext4
[code]....
except he's talking about fake raid and dmraid, whereas my raid is linux software raid using mdadm. this machine is a headless server which acts as my home file, mail, and web server. it also runs mythtv with four hd tuners. i connect remotely to the server using nx or vnc to run applications directly on the server. i also run an xp professional desktop in a qemu virtual machine on the server for times when i need to use windows. so needless to say, it's a major inconvenience to have the machine down.
View 1 Replies
View Related
Jan 10, 2009
I've just upgraded from F9 to F10. I can boot okay but I seem to have lost some data in one of my logical volumes. My drive is organised as follows:
/dev/mapper/main_group-various: UUID="f7c452cf-9f03-4f97-8676-b71b07a812aa" TYPE="ext3" SEC_TYPE="ext2"
/dev/mapper/main_group-root: UUID="173f1845-72c9-49e8-9d49-2a5776c4267c" TYPE="ext3" SEC_TYPE="ext2"
/dev/mapper/main_group-music: UUID="f5411861-4614-4652-a5f5-a3a8c2efcdd3" TYPE="ext3" SEC_TYPE="ext2"
[code].....
The logical volume for work still seems to be there. I presume (and hope) that all the information in /dev/main_group/work is still there. How can the folders in /dev/main_group/work be retrieved?
View 1 Replies
View Related
Mar 29, 2009
I have two NTFS volumes I want to automount at boot. I can't get my user account to mount them in Fedora 10. I keep getting the message that the two lines I have edited in fstab are bad. The volumes are sda2 and sda8, and the volume names are SPACELAB and Spaceman. I also need to be able to mount an NTFS usb drive from time to time. I am getting frustrated, so I have posted my fstab file below,
#
# /etc/fstab
# Created by anaconda on Sun Mar 1 12:44:11 2009
#
[code]....
View 13 Replies
View Related
Nov 25, 2010
I have done a recent install of Debian squeeze on a laptop. I set up LVM with 3 LV's, one for the root filesystem, one for /home, and another for swap. I then used lvextend to increase the size of the LV's. This additional space is shown if I enter lvdisplay (shortened for clarity):
- Logical volume -
LV Name /dev/auriga/swap
LV Size 4.66 GiB
- Logical volume -
LV Name /dev/auriga/root
LV Size 15.97 GiB
- Logical volume -
LV Name /dev/auriga/home
LV Size 169.01 GiB
However, if I use df, it still shows the previous size.
/dev/mapper/auriga-root 14G 8.0G 5.2G 61% /
/dev/sda1 221M 16M 193M 8% /boot
/dev/mapper/auriga-home 147G 421M 139G 1% /home
I have even tried restarting as well. I do not understand why df would still show that /home is 147GB, when I extended it to 169GB using lvextend. Similarly for the root, which was extended by 2GB from 14GB to 16GB.
View 2 Replies
View Related
Jan 28, 2010
I have a system where the logical volumes are not being detected on boot and would like some guidance as to how to cure this. The box is a Proliant DL385 G5p with a pair of 146 GB mirrored disks. The mirroring is done in hardware by an HP Smart Array P400 controller. The mirrored disk (/dev/cciss/c0d0) has 4 partitions: boot, root, swap and an LVM physical volume in one volume group with several logical volumes, including /var, /home and /opt.
The OS is a 64-bit RHEL 5.3 basic install with a kernel upgrade to 2.6.18-164.6.1.el5.x86_64 (to cure a problem with bonded NICs) plus quite a few extras for stuff like Oracle, EMC PowerPath and HP's Proliant Support Pack. The basic install is OK and the box can still be rebooted OK after the kernel upgrade. However, after the other stuff goes on it fails to reboot.
The problem is that the boot fails during file system check of the logical volume file systems but the failure is due to these volumes not being found. Specifically the boot goes through the following steps:
Red Hat nash version 5.1.19.6 starting
setting clock
starting udev
loading default keymap (us)
setting hostname
No devices found <--- suspicious?
Setting up Logical Volume Management:
fsck.ext3 checks then fail with messages: No such file or directory while trying to open /dev/<volume group>/<logical volume> There are also messages about not being able to find the superblock but this is clearly due to the device itself not being found. If I boot from a rescue CD all of the logical volumes are present, with correct sizes; dmsetup shows them all to be active and I can access the files within. Fdisk also shows all the partitions to be OK and of the right type. I am therefore very sure that there is nothing wrong with the disk or logical volumes....
View 3 Replies
View Related
Sep 25, 2009
I'm planning FC11 x86_64 with a live cd , but I would like to preserve my /home partition that is in ext3 . or is there a way to do an install and keep my /home and convert it after in ext4
View 1 Replies
View Related
Apr 24, 2011
I have let the debian installer set up with separate partions forrootusrvarhometmpIt ended up with a huge home partition and little place for the others.So I wanted to give some of home's space to the others and didlvreduce on homelvextend on the others.Following some info on the net it tells you toe2fsck -f partition1 followed by aresize2fs partition1But when I try to fsck the reduced home partition I got the following error:The filesystem size (according to the superblock) is 73113600 blocksThe physical size of the device is 20447332 blocksEither the superblock or the partition table is likely to be corrupt!Abort? yesIs there any way to save this?
View 5 Replies
View Related
Jan 8, 2011
How would I go about encrypting my lvm2 logical volumes on Debian Squeeze? Is it possible without backing everything up to a different drive and restoring afterwards?
View 3 Replies
View Related
Jun 23, 2011
I've read the first 40% of the RHEL 5 Logical Volume Manager Administrator's Guide, but still have one outstanding, burning question.
During the installation of Centos 5.6, I set up LVM physical volumes, volume groups and logical volumes. I can list these using pvdisplay, vgdisplay and lvdisplay commands.
How would I list what filesystems I have that are using my logical volumes?
View 2 Replies
View Related
Sep 15, 2010
Are there any maximum amount of logical volumes a LVM2 volume group can contain?
View 1 Replies
View Related
Nov 15, 2010
I upgraded aaa_elflibs as per Eric's advice here:URL..Now I can't access anything.it boots into tty1 and won't mount any of my logical volumes.
View 14 Replies
View Related
Jan 6, 2011
I am trying to use e2label to label one of my Logical Volumes. the labeling is done successfully. but my findfs output is like this:
/dev/mapper/VolGroup00-TEST
View 9 Replies
View Related
Nov 3, 2010
I would like to ask if is it possible to boot Slackware with the installation CD when in a pinch with a system on logical volumes? For the usual fdisk partitions the procedure is known:
Code:
boot: root=/dev/sda1 noinitrd ro or something like that. This way, the system boots with mounted basic partitions. My question is whether there is an option to achieve the same if the system is installed on logical volumes? I need to do this on a machine with dual booting Windows + Linux. The Windows needs to be reinstalled, but as is well known, the boot sector will then be overwritten. So after the Windows reinstallation I will need to boot Slackware with the installation CD and run lilo.
View 12 Replies
View Related
Sep 9, 2009
Does everybody do major upgrades in place on production servers?Am I over-engineering by creating a new logical volume, syncing my working root volume to it and upgrading the new volume to test services? Then, after a week or 2 or 4, removing the old LV...
View 3 Replies
View Related
Sep 11, 2011
I inherited a 3ware 9550SX running a version of gentoo with a2.6.28.something kernel. I started over with CentOS 5.6 x86_64.tw_cli informs me that the 9-disk RAID 5 is healthy.The previous admin used lvm (?) to carve up the RAID into a zilliontiny pieces and one big piece. My main interest is the big piece.Some of the small pieces refused to mount until I installed theCentOS plus kernel (they are reiserfs).The remainder seem to be ext3; however, they are not mounted at boot("refusing activation"). lvs tells me they are not active. If I try tomake one active, for example:root> lvchange -ay vg01/usrI get:Refusing activation of partial LV usr. Use --partial to override.If I use --partial, I get:Partial mode. Incomplete logical volumes will be processed.and then I can then mount the partition, but not everything seems tobe there.
Some of the directory entries look like this:?--------- ? ? ? ? ? logfilesIs it possible that the versions of the kernel and lvm that wereon the gentoo system are causing grief for an older kernel (andpossibly older lvm) on CentOS 5.6 and that I might have greaterfortunes with CentOS 6.x ?Or am I missing something fundamental? This is my first experiencewith lvm, so it's more than a little probable.
View 2 Replies
View Related
May 15, 2010
I want to install Ubutn-Server-9.04 on a disk.
This old windows-used disk has three patitions:
1 # -- Primary NTFS
2 # -- Logical NTFS
3 # -- Logical FTA32
I plan to install Ubuntu on 1# Partition and override the old OS-Windows7. but the Data on 2# and 3# partition can still be preserved?
View 2 Replies
View Related
May 15, 2009
what the maximum number of logical volumes is for a volume group in LVM ? Is there any known performance hit for creating a large number of small logical volumes vs a small number of large volumes ?
View 1 Replies
View Related
May 4, 2010
I have to install Windows XP on another partition which already has Windows Seven installed.. but I want to preserve my GRUB2 installation without going through that GRUB reinstall process. Can I copy my /boot/grub that works fine and then paste it again through the live CD?
View 1 Replies
View Related
Jul 21, 2009
This is my 6th install of Fedora, begining with Fedora 4 I have had very good luck with all until 9 and I lost all data on drive by my bad clicks in a frustrated session. Now I have a great install of Fedora 10 with the exception that I fouled up and typed in a user (myself-'andybill') and am finding out that the work I need to do cannot be maximized by operating in user - andybill, I need to be super user. I have just moved and have not done any collaboration with our senior partner in a data development start up that he is the intellectual property in deed and law. For me to get back on track my using this OS I have to be master of all libraries, drivers etc. I am a nu-b (only 2 1/2 years, with no computer science background. This explains why I need step by step commands without abbriviated lingo-So if I can remove myself as andybill, make all root
View 13 Replies
View Related
Apr 21, 2011
I got a new computer today, a Compaq Presario CQ56, with Windows 7 preinstalled, and I want to dualboot with Ubuntu, but I'm having some problems. I'll explain what I've done so far, in case I did something wrong.
When I popped in my 10.10 Live CD, I was surprised to see there was not "install alongside existing operating system", which I thought I remembered from the last time I installed Ubuntu, but I chose manual partitioning and continued. I'd never done this before, so I quickly learned I had to first create a (couple) partition(s).
After freeing up a large amount of space and rebooting twice as recommended, I booted off the Live CD and opened GParted, intending to create a Ubuntu system partition, one for swap, and one for my home folder. When I right-clicked on my unallocated space, I got the error message "It is not possible to create more than 4 primary partitions". After a little googling, I found I had to eliminate one of my primary partitions and create a new extended partition, which I could then partition further. Noticing I had a partition that didn't seem important, HP_TOOLS, I googled and found this.
When I inserted my flash drive, it didn't automount. When I tried to mount by right-clicking and clicking "Mount", nothing happened. I also cannot mount the HP_TOOLS partition, nor any other. They don't mount when I click on them in the Places menu, and they don't mount when I right-click and choose Mount.
My main question is "Help! How do I install Ubuntu?", but I think if I can create these partitions, which requires mounting the drives (I think), I can figure the rest out.
A screenshot of my GParted window is attached, if that helps. (I couldn't see how to insert it without a URL)
View 9 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
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
Sep 11, 2010
I have installed Suse on my Windows Vista 64bit machine a couple of times, but the last time I did it - after a disk change - presented some unanticipated problems. Prior to install, Windows Disk Management (whose output I was unable to paste into this question) showed that my disks were laid out as follows:
[Code].....
Disk 0 is a Seagate ATA drive, while Disk 1 is a Western Digital Ext HDD Usb Device. Looking back, I think I should have carved out a partition after M before installing Suse, but I was uncertain whether to make it a logical one or a primary, and in the past the installation has taken the 25 or so gig it needed from the last defined partition on disk 0. This time, however, it went after disk 1, and reformatted the entire drive, deleting about 300 gig of user data, including my system backup. What really suprised me is that it took up the entire drive: 2 gig for the swapfile, then a 20 gig partition, and all the rest for the third partition.
This is not what I would have expected. I especially would not have expected the installation to re-format user data. In any case, I did not want Suse on disk 1, so I reformatted the drive and then used my Partition Manager to rebuild the boot Mbr. So now, I am able to boot into windows, do not have Suse on my machine, but have lost critical data. My disks are now back to the way they were when I started (see above), except that drive F is now all free space, except for my latest backup. My question is how do I ensure, when I reinstall Suse, that it will choose disk0 for the installation and will not overlay any of the data that I have on that drive.
View 8 Replies
View Related
Jan 19, 2010
I've tried this with 4.0r3 and 4.0r7 CDs, using two different networks to access repositories, and the same result each time: install goes fine until the "OK" for the "Desktop/Web Server/Mail Server/etc." selections, it brings up the "Select and install software" page and then it freezes, showing "5%" and "Please wait..." under the progress bar.
If I hadn't built 20+ servers this way I'd think it was me, but it's not... I think. What's going on?
(No, we're not upgrading to 5.0. Reference above mention of lots o' servers! )
View 3 Replies
View Related
Sep 13, 2010
I'm running 10.04 running daily updates. A couple days back, I saw an update related to mounting volumes. Not sure if this is what broke my system, but might be. When attempting to mount a partition from nautilus, I get a message saying I do not have authorization. It does not even ask for my password, just fails. I tried running updates and this asks for my password and accepts it fine. I opened disk utility from the menus and tried to mount the volume from there but also got the same permission denied, not authorized without even being asked for my password.
I then ran gksu palimpsest. I was asked for my password and was able to mount and unmount partitions from there. However, when mounted, my applications and nautilus cannot access the data in the partitions mounted using gksu palimpsest. In nautilus, I can navigate to /media/Data (the partition in question) but I get "THE FOLDER CONTENTS CANNOT BE DISPLAYED You do not have the permissions necessary to view the contents of "Data"." When I open nautilus via gksu in the terminal, I do have full access to the partitions.
How do I get my privileges back for my user account. I am the only user on the computer, and I have never set up a root account since my upgrade to 10.04 months ago. I tried of course the Administration->Users and Groups menu, but I am not permitted to change the account type or open advanced settings. I click the button, but nothing happens, not even a password request. Running gksu admin-settings on the terminal allows me access. My current settings are attached.
View 8 Replies
View Related