dm-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* pvmove/mirror target mirroring data between two devices with different sector size
@ 2016-03-28  4:00 Liuhua Wang
  2016-03-28 13:06 ` Coly Li
  0 siblings, 1 reply; 4+ messages in thread
From: Liuhua Wang @ 2016-03-28  4:00 UTC (permalink / raw)
  To: dm-devel; +Cc: Neil F Brown

Hi List,

I have a question that I think maybe you can give me some idea.

I have two devices with different sector size: 512B and 4096B.

- SOURCE DEVICE (mdos lvm partiton)
#parted /dev/sdb
Model: ATA SATADOM-SL 3ME (scsi)
Disk /dev/sdb: 32.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
(In `parted` Sector size are both got from IOCTL(BLKSSZGET))

- TARGET DEVICE (WHOLE DISK)
#parted /dev/sdc
Error: /dev/sdd: unrecognised disk label
Model: ATA HUH728080ALN600 (scsi)
Disk /dev/sdd: 8002GB
Sector size (logical/physical): 4096B/4096B
Partition Table: unknown

I want to move data from one device to the other using lvm command
`pvmove`, but after pvmove, file system cannot mount.

So my question is whether pvmove support moving date between devices with different sector size
or same question: mirror target support mirroring data between two devices with different sector size?

Thank you in advance.

Best regards,
Liuhua

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-01  6:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <56F94727020000A000058AA7@prv3-mh.provo.novell.com>
2016-03-31  2:09 ` pvmove/mirror target mirroring data between two devices with different sector size NeilBrown
2016-04-01  6:13   ` Liuhua Wang
2016-03-28  4:00 Liuhua Wang
2016-03-28 13:06 ` Coly Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).