General :: Creating Mirror Of Existing Volume ?
Sep 18, 2009Could 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.
View 2 RepliesCould 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.
View 2 RepliesI have a raid1 setup on a machine. Recently it died and I thought one of the drives had failed as it was shooting errors. So I tried unplugging that drive get it to boot off the mirror but it seems the techs forgot to mirror the boot device so the 2nd drive can't boot on its own. After a while it was realized that the sata cable was in fact bad and replaced so now its working again.
However, this occurrence showed a flaw in the setup where the RAID1 isn't working as its supposed to. I would like to correct this. Can I somehow mirror the boot partition so the 2nd drive will boot independent? I'm not sure how I would go about this. This is a CentOS 5 installation.
How to create a dump of an existing file and how to restore it with command line?
View 6 Replies View RelatedI have a system with a 2TB RAID level 1 installed (2 x 2TB drives, configured as RAID1 through the BIOS). I installed Centos 5.5 and it runs fine. I now added another 2x2TB drives and configured them as RAID1 through the BIOS.
How do I add this new RAID volume to the existing logical volume?
I created LVM partition when I had access to GUI. Now the GUI has been removed and I need to create a new volume out of what was left untouched in LVM. I don't know any command to create a volume out of existing volume group.
pvdisplay shows as follows:
Code:
--- Physical volume ---
PV Name /dev/sda2
VG Name VolGroup00
PV Size 439.45 GB / not usable 16.42 MB
[Code].....
I have just finished installing (after hard work ) Centos 5.4 x86 configured with Snort & Snorby as frontend web, i would like to create from this installation kind of image that could fit to almost any hardware type.
View 2 Replies View RelatedI have a running RHEL5 system, which has two physical disk drives, but is currently running on a single drive of the pair. The single drive the system is running on contains a root/boot partition and a swap partition. I would like to be able to add a mirror drive to this existing setup without having to disturb the running system (much). That is, I don't want to have to completely dump, reinstall (creating the mirror on the way up), and reload from backup media if I can avoid it. I have seen procedures that go as follows:
- the "extra drive" (the one not being used as the current root/boot device) is first brought under LVM control as a root object with one physical mirror attached.
- the data from the running root/boot drive is rsync-ed over to the LVM-controlled half-mirror, and boot records added.
- System rebooted on newly created half-mirror.
- Original root prepped to be second side of LVM mirrored root, and is added in.
Can one boot from an LVM disk directly? There seems to be some question on this that came up in other lists I had read online.
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
View 1 Replies View RelatedWHat 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?
View 2 Replies View RelatedI am currently running Debian on a system with 3 scsi hard drives with Raid and have an identical back up server. I want to schedule a daily "mirror" copy of the server operating system and data so that if the primary server drops I can move the network plug to the next server and be back in business. Can someone let me know what would be the best solutions for this? I am new to linux so this may be an obvious question so if it is I applogize but I have been searching through the forums and have not found an adeqate solution.
View 1 Replies View RelatedSlackware 13.0, about to install it. I do have an existing Ubuntu installation with a roomy 5 GB of swap.
In the installer of Slackware, what should I do to use this swap?
We have two CentOS 5 servers in production (web and database). We are setting up a single staging server that will mirror the configurations of these servers as closely as possible. What is the easiest way to ensure the exact same software and configs as the production servers are setup on the new staging server. Our contracted data center provider has already informed us that they do not perform images and NO we do not have physical access to the machines. It is undetermined whether we will be virtualizing the staging server into two virtual servers yet, so for the purposes of this post lets assume we are not. I'm seeking a faster/more precise method than doing this by eye and hand.
Some information on our web server code...
I have a system that has the following partitions:
Now SDC is a new drive I added. I would like to pool that new drive with the raided drives to give myself more space on my existing system (and structure). Is this possible since my raid already has data on it?
I'm setting up my profile in gnome right now, with things like fonts, themes, wallpapers, iceweasel settings, menu settings, and I'm going to be adding a couple new users. Rather than re-do everything again, I thought I'd just create the new user, copy over my home dir, chown it to the new user and then login to make minor final adjustments, like specifiying where the music dir is and such.Just wondering if there'd be any problems with this, since it's just an idea I think should work but have never tried it. Any experience, or warnings?
View 7 Replies View RelatedI'm looking for a way to create a live cd from the existing image. I'd like to include some sort of installer, I've found gui remaster utilities, but none for the shell only. I need to setup the image to automatically login, so the user could just pop in the cd and start it up without a monitor or keyboard.
View 10 Replies View RelatedI wish to create a bootable disk for my existing grub legacy. I do not have a floppy drive. Could this be done on a CD-RW or flash drive?
View 1 Replies View Relatedcan we use partition typ 83(linux) for creating a LVM partition.
View 2 Replies View RelatedThis concerns the Logical Volume Manager (LVM).
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.
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.
View 3 Replies View RelatedHow 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 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.
I want to find out how to create a Fedora installation CD from an existing Fedora System. I cant find my CDs and I want to set up another system. What commands do i use or how do I go about it.
View 1 Replies View RelatedI'm rearranging a bunch of disks on my server at home and I find myself in the position of wanting to move a bunch of LVM logical volumes to another volume group. Is there a simple way to do this? I saw mention of a cplv command but this seems to be either old or not something that was ever available for linux.
View 2 Replies View RelatedI have an existing unix user that some how didnt make it into the copy over to our LDAP server. How do I add an existing unix user to an existing LDAP directory? Will ldapadd work? I was under the impression ldapadd required an ldif file to work properly.
View 7 Replies View RelatedHP 210 Mini
Fedora 14 xfce
2.6.35.11-83.fc14.x86_64
I have inserted my handy drive. However, when I right click and select unmount I get the following message:
An application is preventing the volume "New Volume" from being unmounted
So I try from the command line:
umount /dev/sdb1
And I get the following message:
umount: /media/New Volume: device is busy.
All I have done is copied some files to my handy drive. So I am not sure what process is keeping my handy drive busy.Is there any command that I can use to see what process of anything else is using the handy drive?
How do you download a whole distribution at once from an ftp mirror? Ive never used ftp to DL more than 1 file at a time from konsole I tried mget, get as well as using wild cards like this get /slackware/*/*/*/*. Ive been looking for how to's but can't find any that deal with what I'm looking for. I know there is probably a simple solution but I can't find it.
View 8 Replies View RelatedI have apt-mirror working perfectly for my local repo.I have it sending me an email everyday after it runs.However, there is nothing in the email. I'd like for the email to show me how much data was downloaded, number of files, (the normal apt-mirror information when ran from terminal). Lastly, the clean.sh script contains nothing to do. What can I add to the script to clean up my repo (remove older packages, etc..) My repo keeps getting larger and larger. It's at 66.7GB now.
View 4 Replies View RelatedA friend recently introduced me to linux and I've experimented with a few different distros and now have 2 working puppies; 1 system i slapped together from misc. parts lying around and the other is my netbook which boots to puppy via USB. I have had to play around with formatting using gparted.
I very recently acquired a server unit with a pentium II 200Mhz and I would like to LEARN linux. Thru careful research I have figured out that Slack is the best OS for those who want to learn the in's and out's. I guess my question would be which slackware distro would be best for this somewhat older system? ...And where can I find a mirror to download the iso?
I'm using f12. My university has recently become a mirror for fedora packages. But i'm facing a trivial problem. I have set proxy for yum so that the packages that are not available on local mirror can be downloaded from other mirrors. But then i don't know how to set no proxy for my local server. Consequently it is not using my local mirror at all. Tell me how to set no proxy for the local mirror. I want my local mirror because it's damn fast. My proxy settings are like this (they go in /etc/yum.conf):
[code]....
I have a virtual server which acts mainly as mail server. I wonder whether I could set up a mirror for certain files like Linux ISO images, conference talk recordings and other stuff.How could I seed automatically all torrents from XML feeds plus torrents added by hand? Further conditions: The data files should be accessable via HTTP/FTP, too total traffic and bandwidth uage need to be restricted, plus bonus points for restrictions per feed or file.
View 1 Replies View Related