Re: Cloning again
Robert Citek <[email protected]> Wed, 31 Jan 2024 17:25:37 -0700
| Newsgroups | gmane.org.user-groups.linux.nmglug |
|---|---|
| Message-ID | <CAKFjdm7+uBvavqZ_z0KmQAdjsuSnZ373KGOV1oxRUDQGfzuYLQ@mail.gmail.com> |
--===============0693359320014423882== Content-Type: multipart/alternative; boundary="000000000000aaf7c506104709b1" --000000000000aaf7c506104709b1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Greetings, Brian. You write "clone". What do you mean by "clone"? Are you using cp, rsync, dd, something else to create the clone? A slightly different approach ... If you are going to go through the trouble of cloning a hard drive ( e.g. imaging using dd ), you might want to consider moving the installation into a virtual machine ( VM ) and having the image be on the 1TB drive. VM's are not a panacea for every use case, but they sure have some nice features: isolation, snapshotting, reverting, suspending, multiple OSes running at the same time, IaC, etc. Regards, - Robert On Wed, Jan 31, 2024 at 4:50=E2=80=AFPM Akkana Peck <[email protected]>= wrote: > Brian O'Keefe writes: > > Now what I'd like to do is clone my 250GB SSD to a 1TB SSD for the > > added space. I had already cloned my 250GB drive onto the 1TB but > > never upgraded it as I wanted to do. So I have a several months > > old cloned drive of 300GB partition and the remainder unformatted > > space. What I don't know is if I need to reformat the 1TB drive in > > any manner or just delete the 300GB partition and have a 1 TB, > > unformatted drive, as it came when new. Or, do I need to delete > > the partitions and either have all 1TB unformatted or format the > > 1TB as ext4 or something? > > Some options: > > If you don't care about preserving what's on the drive now: > format the whole 1TB as ext4 (or your favorite Linux filesystem if it's > something else). I tend to use gparted because I'm nervous about typing > fdisk commands, but fdisk or other tools are fine too if you prefer them. > (This is the option I'd probably take.) > > If you want to preserve the data that's on the drive now, and it's a > reasonable filesystem already: > use gparted to resize the 300GB partition to take up the whole drive. Thi= s > probably will be fairly fast, because it won't have to move any data, jus= t > enlarge the partition to use up the free space. > > If you want to preserve the 250GB clone exactly, and use the rest of the > drive for other backups: > use gparted to make a new partition taking up the free space on the disk > and format it to ext4. > > ...Akkana > _______________________________________________ > nmglug mailing list > [email protected] > http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org > --000000000000aaf7c506104709b1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Greetings, Brian.</div><div><br></div><div>You write = "clone".=C2=A0 What do you=C2=A0mean by "clone"?=C2=A0 = Are you using cp, rsync, dd, something else to create the clone?</div><div>= <br></div>A slightly different approach ...<div><br><div><div>If you are go= ing to go through the trouble of cloning a hard drive ( e.g. imaging using = dd ), you might want to consider moving the installation into a virtual mac= hine ( VM ) and having the image be on the 1TB drive.=C2=A0 VM's are no= t a panacea for every use case, but they sure have some nice features: isol= ation, snapshotting, reverting, suspending, multiple OSes running at the sa= me time, IaC, etc.</div><div><br></div><div>Regards,</div><div>- Robert</di= v><div><br></div></div></div></div><br><div class=3D"gmail_quote"><div dir= =3D"ltr" class=3D"gmail_attr">On Wed, Jan 31, 2024 at 4:50=E2=80=AFPM Akkan= a Peck <<a href=3D"mailto:[email protected]">[email protected]</= a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0p= x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Br= ian O'Keefe writes:<br> >=C2=A0 =C2=A0 Now what I'd like to do is clone my 250GB SSD to a 1T= B SSD for the=C2=A0 =C2=A0<br> >=C2=A0 =C2=A0 added space. I had already cloned my 250GB drive onto the= 1TB but=C2=A0 =C2=A0 <br> >=C2=A0 =C2=A0 never upgraded it as I wanted to do. So I have a several = months=C2=A0 =C2=A0 =C2=A0 <br> >=C2=A0 =C2=A0 old cloned drive of 300GB partition and the remainder unf= ormatted=C2=A0 =C2=A0 <br> >=C2=A0 =C2=A0 space. What I don't know is if I need to reformat the= 1TB drive in=C2=A0 =C2=A0<br> >=C2=A0 =C2=A0 any manner or just delete the 300GB partition and have a = 1 TB,=C2=A0 =C2=A0 =C2=A0 =C2=A0<br> >=C2=A0 =C2=A0 unformatted drive, as it came when new. Or, do I need to = delete=C2=A0 =C2=A0 =C2=A0 <br> >=C2=A0 =C2=A0 the partitions and either have all 1TB unformatted or for= mat the=C2=A0 =C2=A0 =C2=A0<br> >=C2=A0 =C2=A0 1TB as ext4 or something?=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br> <br> Some options:<br> <br> If you don't care about preserving what's on the drive now:<br> format the whole 1TB as ext4 (or your favorite Linux filesystem if it's= something else). I tend to use gparted because I'm nervous about typin= g fdisk commands, but fdisk or other tools are fine too if you prefer them.= <br> (This is the option I'd probably take.)<br> <br> If you want to preserve the data that's on the drive now, and it's = a reasonable filesystem already:<br> use gparted to resize the 300GB partition to take up the whole drive. This = probably will be fairly fast, because it won't have to move any data, j= ust enlarge the partition to use up the free space.<br> <br> If you want to preserve the 250GB clone exactly, and use the rest of the dr= ive for other backups:<br> use gparted to make a new partition taking up the free space on the disk an= d format it to ext4.<br> <br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 ...Akkana<br> _______________________________________________<br> nmglug mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]= mglug.org</a><br> <a href=3D"http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org" rel=3D"n= oreferrer" target=3D"_blank">http://lists.nmglug.org/listinfo.cgi/nmglug-nm= glug.org</a><br> </blockquote></div> --000000000000aaf7c506104709b1-- --===============0693359320014423882== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ nmglug mailing list [email protected] http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org --===============0693359320014423882==--