如何让ocs-onthefly 支持LVM对COPY

25 views
Skip to first unread message

Jerry

unread,
Nov 16, 2021, 5:52:45 PM11/16/21
to 再生龍clonezilla
大家好

我在使用ocs-onthefly 对二个电脑的的硬盘通过网络对拷,在测试过程中发现如果源硬盘分区是LVM,这个COPY会失败;

LVM分区模式必须使用
1. ocs-onthefly 转换源盘到中转文件系统;
2. 使用<cnvt-ocs-dev>将文件系统中的数据进行硬盘分区转换(源/dev/sda, 目标/dev/sdb)
3.使用osc-onthefly 将中转文件系统中的数据复制到目标不硬盘;

这会出现 2次不必要的读写。

请问有没有办法不借助中转文件系统,直接实现LVM文件系统的源硬盘->到目标硬盘的COPY

非常感谢大家的帮助!

Steven Shiau

unread,
Nov 17, 2021, 8:57:55 AM11/17/21
to ocs-clo...@googlegroups.com
需要更多的資訊。
A. 請問使用的Clonezilla live版本?
B. 在server端
1. 類似這個綠色的指令是?
https://clonezilla.org/clonezilla-live/doc/03_Disk_to_disk_clone/images/ocs-08-3-command-to-run.png
請在命令列中執行:
2. sudo -i
3. cat /proc/partitions
4. parted -s /dev/sda print
5. vgscan
6. lvscan
請將2-6的跑的結果貼上來。

C. 在client端你如何下指令?

Steven
> --
> 這是 Google 網路論壇針對「再生龍clonezilla」群組發送的訂閱通知郵件。
> 如要取消訂閱這個群組並停止接收來自這個群組的郵件,請傳送電子郵件到
> ocs-clonezill...@googlegroups.com
> <mailto:ocs-clonezill...@googlegroups.com>。
> 如要在網路上查看這項討論,請造訪
> https://groups.google.com/d/msgid/ocs-clonezilla/e637c057-bf90-4653-b545-09f1286dbf1dn%40googlegroups.com
> <https://groups.google.com/d/msgid/ocs-clonezilla/e637c057-bf90-4653-b545-09f1286dbf1dn%40googlegroups.com?utm_medium=email&utm_source=footer>。

--
Steven Shiau <steven _at_ stevenshiau org>
Public Key Server PGP Key ID: 4096R/163E3FB0
Fingerprint: EB1D D5BF 6F88 820B BCF5 356C 8E94 C9CD 163E 3FB0

Reply all
Reply to author
Forward
0 new messages