Sponsored Content
Operating Systems Linux SuSE Problem migrating disk attached to the same vg (lvm) Post 302855081 by Begnux on Thursday 19th of September 2013 04:05:27 AM
Old 09-19-2013
Linux Problem migrating disk attached to the same vg (lvm)

Hi,

I'm trying to migrate the content of disk 'A' to disk 'B', that they belong to the same vg 'data'_vg'. Whe using pvmove, I get the following error: 'device-mapper: suspend ioctl failed: Interrupted system call'. I put down the whole trace:

Code:
pvmove -v "source_disk" "sink_disk"

  Updating volume group metadata
    Creating volume group backup "/etc/lvm/backup/data_vg" (seqno 62).
    Found volume group "data_vg"
    Found volume group "data_vg"
    Suspending data_vg-sapmnt_NLP_lv (253:28)
    Suspending data_vg-pvmove0 (253:58)
    Found volume group "data_vg"
    Found volume group "data_vg"
    Suspending data_vg-oracle_NLP_origlogA_lv (253:32)

  device-mapper: suspend ioctl failed: Interrupted system call
  Unable to suspend data_vg-oracle_NLP_origlogA_lv (253:32)
.....................................................
WARNING: dev_open(/dev/disk/by-id/scsi-36005076306ffc6c90000000000005104) called while suspended
  WARNING: dev_open(/dev/disk/by-id/scsi-36005076306ffc6c90000000000005004) called while suspended
  WARNING: dev_open(/dev/disk/by-id/scsi-36005076306ffc6c90000000000005101) called while suspended
  WARNING: dev_open(/dev/disk/by-id/scsi-36005076306ffc6c90000000000005100) called while suspended
  WARNING: dev_open(/dev/disk/by-id/scsi-36005076306ffc6c90000000000005102) called while suspended
  WARNING: dev_open(/dev/disk/by-id/scsi-36005076306ffc6c90000000000005103) called while suspended
  /dev/disk/by-id/scsi-36005076306ffc6c90000000000005003: Moved: 10.5%
    Updating volume group metadata
    Creating volume group backup "/etc/lvm/backup/data_vg" (seqno 63).
    Found volume group "data_vg"
    Found volume group "data_vg"
    Suspending data_vg-sapmnt_NLP_lv (253:28)
    Suspending data_vg-pvmove0 (253:58)
    Found volume group "data_vg"
    Found volume group "data_vg"
    Suspending data_vg-oracle_NLP_origlogA_lv (253:32)

Can anyone help, please ?
 

10 More Discussions You Might Find Interesting

1. HP-UX

disk adding through lvm

Hi dear(s) Can u explain how to add a disk through lvm with commands. I need to add a 9 gb scsi HS disk to a Hp D class 9000 server. (2 Replies)
Discussion started by: sreekumar.R
2 Replies

2. Red Hat

Migrating from RHEL LVM to VxVM

Hiya, Is there a known method from converting LVM data to VxVM data.. ie we have a load of local and SAN (HPDM) mounts on RHEL 4u5/5u1 servers which are now required to be clustered with SFS (VxFS,VxVM,CFS,VCS etc) I've come across the vxvmconvert, but thought that was HP-UX only? Many... (0 Replies)
Discussion started by: itsupplies
0 Replies

3. Filesystems, Disks and Memory

Migrating from RHEL LVM to VxVM

Hiya, Is there a known method from converting LVM data to VxVM data.. ie we have a load of local and SAN (HPDM) mounts on RHEL 4u5/5u1 servers which are now required to be clustered with SFS (VxFS,VxVM,CFS,VCS etc) I've come across the vxvmconvert, but thought that was HP-UX only? Many... (3 Replies)
Discussion started by: itsupplies
3 Replies

4. AIX

Disk I/O Issue using LVM

We have a filesystem which contains 8 hard disks but i am facing disk I/O issue becuase data is not spreading across all the disks.Is there any way i can check how data is spreading and any parameter we need to change to spread ata across all disks. OS--AIX 5.3 (1 Reply)
Discussion started by: ukatru
1 Replies

5. HP-UX

Remove Faulty disk from HP-UX LVM VG

Requirement to remove a faulty mirrored disk from hp-ux LVM <root@pdwp1s>/etc # vgdisplay -v /dev/vg00 vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0": The specified path does not correspond to physical volume attached to this volume group vgdisplay: Warning: couldn't... (9 Replies)
Discussion started by: Shirishlnx
9 Replies

6. Solaris

Swap space related issues, how to recognise the newly attached disk

hi!:) i got a problem....:wall::wall: i got several disks in my diskarray. I attached new disk to allocate it to the swap space. The problem is : how to recognise the newly attached disk? I've one more requirement -:wall:- i want to run dns service on another port number.how can i do... (2 Replies)
Discussion started by: vamshigvk475
2 Replies

7. UNIX for Advanced & Expert Users

LVM - restore metadata on other disk

Hi guys, I would like to ask your opinion about my theory, how to fix my broken LVM without risking any data loss. I use Archlinux at home. I just love this distro, even it gives me a lots of work (particularly after system updates). Basic system spec: AMD FX(tm)-6100 Six-Core Processor... (1 Reply)
Discussion started by: lyynxxx
1 Replies

8. HP-UX

LVM: is possible to replace a disk?

Scenario1: VG00 lvm,not mirrored,2 disk of 36GB vg size VG00 size is under 30G. Is possible to remove a disk of 36GB and replace "on fly" with a disk of 300GB on VG00? Thanks (6 Replies)
Discussion started by: Linusolaradm1
6 Replies

9. HP-UX

Migrating vg00 to new 2.2 on a bigger disk

My project: i want to migrate from a vg00(actual 75GB disk) to a new vg01 (300GB disk),hpux is 11.31 on itanium efi system. vg00 is disk0 vg01 is disk8 I did this #check disk dimension diskinfo -b /dev/rdisk/disk0_p2 | awk '{print $1/1024}' #create a part file vi /tmp/partition 3 EFI... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies

10. Solaris

How to identify if disk is attached to SAN and assist in migration.?

I am working on VM host and collecting data to identify the type of storage attached to the server which will be migrated to VNX. it has one ldom created on it luxadm probe output --- No Network Array enclosures found in /dev/es Found Fibre Channel device(s): Node... (7 Replies)
Discussion started by: kpatel786
7 Replies
hdio(7I)							  Ioctl Requests							  hdio(7I)

NAME
hdio - SMD and IPI disk control operations SYNOPSIS
#include <sys/hdio.h> DESCRIPTION
Note - The SMC and IPI drivers have been discontinued. dkio(7I) is now the preferred method for retrieving disk information. The SMD and IPI disk drivers supplied with this release support a set of ioctl(2) requests for diagnostics and bad sector information. Basic to these ioctl() requests are the definitions in <sys/hdio.h>. IOCTLS
HDKIOCGTYPE The argument is a pointer to a hdk_type structure (described below). This ioctl() gets specific information from the hard disk. HDKIOCSTYPE The argument is a pointer to a hdk_type structure (described below). This ioctl() sets specific information about the hard disk. /* * Used for drive info */ struct hdk_type { ushort_t hdkt_hsect; /* hard sector count (read only) */ ushort_t hdkt_promrev; /* prom revision (read only) */ uchar_t hdkt_drtype; /* drive type (ctlr specific) */ uchar_t hdkt_drstat; /* drive status (ctlr specific, ro) */ }; HDKIOCGBAD The argument is a pointer to a hdk_badmap structure (described below). This ioctl() is used to get the bad sector map from the disk. HDKIOCSBAD The argument is a pointer to a hdk_badmap structure (described below). This ioctl() is used to set the bad sector map on the disk. /* * Used for bad sector map */ struct hdk_badmap { caddr_t hdkb_bufaddr; /* address of user's map buffer */ }; HDKIOCGDIAG The argument is a pointer to a hdk_diag structure (described below). This ioctl() gets the most recent command that failed along with the sector and error number from the hard disk. /* * Used for disk diagnostics */ struct hdk_diag { ushort_t hdkd_errcmd; /* most recent command in error */ daddr_t hdkd_errsect; /* most recent sector in error */ uchar_t hdkd_errno; /* most recent error number */ uchar_t hdkd_severe; /* severity of most recent error */ }; SEE ALSO
ioctl(2), dkio(7I) SunOS 5.10 13 Aug 2002 hdio(7I)
All times are GMT -4. The time now is 06:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy