Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My old 1TB Samsung NVME Gen 3 SSD runs out of space. I bought a new 2TB Samsung NVME Gen 3 SSD. Just cloned the old 1TB drive on the new 2TB drive running pvmove. Installation went through without problem.
But after finish, on reboot the motherboard BIOS can't detect it. on Terminal lsblk can find the new 2TB drive.
Just a few days ago I upgraded from 120G NVME to 500G NVME, but my trouble was somewhat different, depending on your exact meaning of "can't find", and how exactly you "cloned". Can't find was my initial problem. Here's the mailing list thread you may wish to read through.
Just a few days ago I upgraded from 120G NVME to 500G NVME, but my trouble was somewhat different, depending on your exact meaning of "can't find", and how exactly you "cloned". Can't find was my initial problem. Here's the mailing list thread you may wish to read through.
Pvmove I have no experience with, but I would expect it to apply to copying or moving LVM volumes only. Your pvmove /dev/nvme1n1p2 /dev/nvme0n0 would have copied from a partition on an NVME to an unpartitioned NVME directly, not something my intuition says is likely to be supported. Without knowing the partitioning of either source or target it's pretty hard to guess what else could be errant.
The fact that linux cannot see partitions on a new disk (nvme0n1 259:0 0 1.8T 0 disk) is a clear indication that cloning went horribly wrong. But there is more: pvmove is not only the wrong tool for the job used in the wrong way, as was already noted, it is a tool that *moves* LVM extents, so now your source data on the old disk could be gone. Before you proceed with the cloning proper, stop and check the health of your 'old' system. Caveats: assuming the source was an LVM volume, also I was never interested in how thoroughly pvmove cleans up the source, data there is probably recoverable and maybe even accessible, but better to be safe than sorry. After that - https://www.google.co.uk/search?hl=e...one+disk+linux
The fact that linux cannot see partitions on a new disk (nvme0n1 259:0 0 1.8T 0 disk) is a clear indication that cloning went horribly wrong. But there is more: pvmove is not only the wrong tool for the job used in the wrong way, as was already noted, it is a tool that *moves* LVM extents, so now your source data on the old disk could be gone. Before you proceed with the cloning proper, stop and check the health of your 'old' system. Caveats: assuming the source was an LVM volume, also I was never interested in how thoroughly pvmove cleans up the source, data there is probably recoverable and maybe even accessible, but better to be safe than sorry. After that - https://www.google.co.uk/search?hl=e...one+disk+linux
Hi,
Thanks for your advice.
The source 1TB NVMe SSD is still able to work.
Then I ran;
$ sudo dd if=/dev/nvme1n1 of=/dev/nvme0n1 bs=64K conv=noerror,sync
Installation went through without complaint. Unfortunately after finish both the source and target SSDs are unable to boot. They only show a dark screen;
grub>
Please advise how to fix the problem? I have Ubuntu 22.04 boot USB
Might boot to efishell for more clues?
Yes, the clone part is suspect.
Hi
Thanks for your advice.
Problem solved as follow;
Restore the backup image of the old 1TB NVME SSD on the new 2TB NVME SSD. The backup image was created before running pvmove. Now Ubuntu 22.04 on the new 2TB NVME SSD can be started.
But there is any problem generated. The storage size of Ubuntu 22.04 is only 1TB on the new 2TB NVME SSD. Please see my another posting on;
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.