All of lore.kernel.org
 help / color / mirror / Atom feed
From: Coly Li <i@coly.li>
To: lwang@suse.com
Cc: dm-devel@redhat.com
Subject: Re: pvmove/mirror target mirroring data between two devices with different sector size
Date: Mon, 28 Mar 2016 21:06:28 +0800	[thread overview]
Message-ID: <56F92C54.8050206@coly.li> (raw)
In-Reply-To: <56F94727020000A000058AA7@prv-mh.provo.novell.com>

在 16/3/28 下午12:00, Liuhua Wang 写道:
> 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.
> 

Is the logical volume on target device recognized by lvm ? If only file
system failed to mount, what is the error message from kernel side ?

Thanks.

-- 
Coly Li

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel

  reply	other threads:[~2016-03-28 13:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-28  4:00 pvmove/mirror target mirroring data between two devices with different sector size Liuhua Wang
2016-03-28 13:06 ` Coly Li [this message]
     [not found] <56F94727020000A000058AA7@prv3-mh.provo.novell.com>
2016-03-31  2:09 ` NeilBrown
2016-04-01  6:13   ` Liuhua Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56F92C54.8050206@coly.li \
    --to=i@coly.li \
    --cc=dm-devel@redhat.com \
    --cc=lwang@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.