Sponsored Content
Full Discussion: mount LVM duplication drives
Top Forums UNIX for Advanced & Expert Users mount LVM duplication drives Post 302120833 by craigp84 on Friday 8th of June 2007 11:49:09 AM
Old 06-08-2007
Quote:
Originally Posted by onthetopo
1.I want to have a cloned disk as bootable backup
2.When booting using the master drive, I also want to mount the cloned backup disk so I can do incremental backup of certain files Smilie . and use the clone disk as free disk space.
I think you're looking at this the wrong way.

You have 2 disks, one is larger (backup disk) than the other (primary disk) from what i understand.

In that case, you will partition the primary disk as you wish, but will make them Software RAID volumes. On disk 2 - the backup - you'll create the exact same partitions of the same size, with partition type = Software Raid.

At this point you have one disk fully allocated - the primary, and one which is an exact copy (man sfdisk for the easy way to make an exact copy) plus some free space at the end. Go ahead and create an extra partition for the free space, this will be your backup area.

Configure the software raid (there's thousands of docs on this so i wont repeat), configure your boot loader to boot disk 2 if disk 1 fails, then setup your backup process (rsnapshot?) to backup to the "spare" partition at the end of disk 2.

Hope this helps you see the concept & a more workable way to achieve.

-c
 

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

File Duplication

hi all how to find the file duplication in a windows 2000 server as usual replies are sincerely appreciated. thanks raguram R (3 Replies)
Discussion started by: raguramtgr
3 Replies

2. Shell Programming and Scripting

how floppy disks, CDs and flash drives (pen drives) are accessed in UNIX

hi how floppy disks, CDs and flash drives (pen drives) are accessed in UNIX? thanks (0 Replies)
Discussion started by: nokia1100
0 Replies

3. UNIX for Dummies Questions & Answers

How to mount lvm

Hi, I'm stuck in an awkward situation please help I have two identical Seagate 80GB harddrives. My objective is a bit strange. 1.I want to have a cloned disk as bootable backup 2.When booting using the master drive, I also want to mount the cloned backup disk so I can do incremental backup of... (2 Replies)
Discussion started by: onthetopo
2 Replies

4. Filesystems, Disks and Memory

Unable to mount/find new drives

Hi, I work offshore and we have a system that records excessive amounts of data (Terabytes), therefore we changed the 16 x 400GB drives to 16 x 1TB drives. However, since doing this, upon bootup, the system does not recognize the new drives. These drives are external drives in a chassis which is... (5 Replies)
Discussion started by: shamrocks
5 Replies

5. HP-UX

How to reduce LVM to create another LVM

Hi, I'm new to HP-UX. I have LVM on /var with 92Gig. I would like to reduce it to create another LVM for Oracle client with 800 meg or so. How to do it. I'm running 11.iv3 Thanks (4 Replies)
Discussion started by: lamoul
4 Replies

6. Shell Programming and Scripting

Mount Points vs Physical Drives

Hi there i need a way ( some sort of script maybe) to check if a mont point exist when but the physical drive does not for example if i look in / and see that user_data2 directory exist but there is no user_data2 drive. another hurdle would be that some of the machines have raided drives... (3 Replies)
Discussion started by: ab52
3 Replies

7. UNIX for Dummies Questions & Answers

How to convert non LVM root partition to LVM?

Hi Guys, I m using redhat 6, I have installed root partition as non-LVM . Is there any way i can convert it to LVM? (1 Reply)
Discussion started by: pinga123
1 Replies

8. Linux

Create LVM of 2 Hard Drives while installing Centos 6.4.

Hello, I have install 2 HDD in my server and now installing the Centos6.4. I want create the LVM of those 2 HDD's so while i'm doing this it is not allowing me to select these 2 disk's from allowable disk list. Same problem if i tried to make Software RAID with creating LVM. Please help. (1 Reply)
Discussion started by: purushottamaher
1 Replies

9. Linux

De-Duplication Problem

Hi all, I download and install lessfs for deduplication, I copy files in /SharedFiles directory and lessfs work right and not store again copy files, but, when i delete all files in /SharedFiles , not return free space to total space, files not show in /SharedFiles , but not copy new files in... (3 Replies)
Discussion started by: saeedha
3 Replies

10. UNIX for Beginners Questions & Answers

Line duplication with awk?!

So while this seemed totally trivial it turned out to be much more difficult than I had thought. I have a file with 3 rows, and I "just" want to add each field n number of times. E.g. > cat file.txt 0.5 -0.1 0.6 for n=3 into: cat newfile.txt 0.5 0.5 0.5 -0.1 -0.1 -0.1 0.6 0.6 0.6 I... (4 Replies)
Discussion started by: Glorp
4 Replies
vgcfgbackup(1M) 														   vgcfgbackup(1M)

NAME
vgcfgbackup - create or update LVM volume group configuration backup file SYNOPSIS
vg_conf_path] vg_name DESCRIPTION
The command saves the LVM configuration for a volume group in a default or alternate configuration backup file (see the option). By default, runs automatically each time an LVM command changes the LVM configuration. In this case, it always uses the default configura- tion backup file. An existing default configuration backup file is renamed with an extension of Options and Arguments recognizes the following options and arguments: vg_name The path name of a volume group. Save the configuration using an alternate file name specified by vg_conf_path. If is omitted, the default file name is in the form: base_vg_name is the base name of vg_name. For example, if vg_name is specified as base_vg_name is Update the configuration backup file with the latest LVM configuration. Only those physical volumes added since the configuration backup file was last modified need to be online. If is omitted, all physical volumes for vg_name must be online. RETURN VALUE
exits with one of the following values: Successful completion. Failure. Errors occurred when information from the volume group was being accessed. EXTERNAL INFLUENCES
Environment Variables determines the language in which messages are displayed. If is not specified or is null, it defaults to "C" (see lang(5)). If any internationalization variable contains an invalid setting, all internationalization variables default to "C" (see environ(5)). EXAMPLES
Back up LVM configuration information for volume group in the default backup file Update LVM configuration information corresponding to volume group in the default backup file Back up LVM configuration information for volume group in the alternate configuration backup file WARNINGS
It is recommended that any alternate configuration backup file be created in the root file system (as is the case with the default path name). This facilitates easy volume group recovery during maintenance mode, such as after a system crash. AUTHOR
was developed by HP. SEE ALSO
vgcfgrestore(1M). vgcfgbackup(1M)
All times are GMT -4. The time now is 01:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy