Sponsored Content
Full Discussion: mount LVM duplication drives
Top Forums UNIX for Advanced & Expert Users mount LVM duplication drives Post 302120038 by blowtorch on Sunday 3rd of June 2007 12:16:31 AM
Old 06-03-2007
I have never used Linux LVM, but the error message makes sense. You have used dd to clone your disk. dd actually copies everything from the input to the output. In the case of your disk, that includes things like PV information that pvcreate would store on the disk (disk id, maybe host id and such). So you are getting a conflict.

Instead of using dd to clone your disk, use dump or tar or something similar. This will just copy the files and nothing else. If you are determined to use dd, then you cannot mount the disk to for any incremental backups. Just use dd to do a clone once a week or so. Incremental backups during the week can be taken on another hdd or a CD/DVD.

--EDIT
Otherwise, you can look towards mirroring the disk if it is supported.
 

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
advfs_clonefset(3)					     Library Functions Manual						advfs_clonefset(3)

NAME
advfs_clonefset - Creates a read-only copy of an active fileset SYNOPSIS
#include <sys/advfs_syscalls.h> int advfs_clonefset( char *domain, char *fileset, char *clonename ); LIBRARY
AdvFS Library (libadvfs) PARAMETERS
Specifies the name of an existing AdvFS file domain. Specifies the name of original fileset. Specifies the name of the read-only clone fileset of the original fileset. DESCRIPTION
This function makes a read-only copy (clone) of an active fileset without taking the fileset off line. When you create a clone fileset, it is a read-only snapshot of fileset data structures (metadata). That is, when you clone a fileset only the structure of the original fileset is copied, not its data. As time goes by and as the files in the original fileset are modified, the file system copies the original pages to the clone fileset. In this way, the clone fileset preserves the contents of files as they were in the original fileset at the time you created the clone. You can form a fileset backup strategy by managing clone filesets without ever needing to take the original filesets off line. For exam- ple, you can determine when to unmount a clone, mount the clone on another mount point, and then use the vdump command to back it up. You can create new versions of a clone fileset, but you can maintain only one clone per fileset at a time. You can remove an existing clone fileset by using the advfs_rmfset function. NOTES
This function has features identical to the utility described in clonefset(8). RESTRICTIONS
This function only clones AdvFS filesets; it does not clone UFS file systems. The program that calls this function must be running with root privilege. A fileset must have a unique name of up to 31 characters. All whitespace characters (tab, new line, space, and so on) and the / # : * ? characters are invalid for fileset names. Do not create a clone fileset if the available disk space for the file domain is less than 5 percent of the total. When a file domain runs out of disk space, the file system loses its ability to maintain the consistency of files within clone filesets. When the file system can no longer maintain consistency, it displays warning messages similar to the following on the user's terminal and to the console: WARNING: advfs cannot copy-on-write data to a clone file. WARNING: encountered the following error: ENO_MORE_BLKS (-1040) WARNING: do not continue using the clone fileset. WARNING: original file set: name=mnt, id=2c06a73f.00027192.00000001.8001 WARNING: clone file set: name=clone, id=2c06a73f.00027192.00000002.8002 WARNING: file id = 0000000a.8002 This message also appears in the /var/adm/syslog.dated/latest_boot_date/kern.log file. RETURN VALUES
The function returns a value of 0 (zero) on successful completion. The function returns a value of -1 on failure and sets the value of errno to the specific error. ERRORS
The function sets errno to the specified errors for the following failure conditions: A valid AdvFS Advanced Utilities license is not installed. The calling program is not running with root privileges. The AdvFS lock for domain could not be acquired because one of the follow- ing operations was already running on the domain: balance, defragment, rmfset, or rmvol. The fileset you want to clone already has an existing clone. The name of the clone contains an invalid character or any of the parameters are NULL or set to . An I/O error occurred on one of the disks in the file domain. The name of the clone is longer than 31 characters. The file domain specified by the domain parameter does not exist. The fileset specified by the fileset parameter does not exist in the file domain specified by the domain parameter. There is not enough memory available for the operation. There is not enough available space in the file domain to create a clone fileset. SEE ALSO
Commands: clonefset(8), mkfset(8), rmfset(8), showfsets(8) Functions: advfs_rmfset(3) advfs_clonefset(3)
All times are GMT -4. The time now is 08:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy