Walt Mankowski via plug on 20 Jan 2021 09:59:48 -0800 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Is it possible to move data from a SAS drive to the newly installed SSD? |
That link has already expired. Is there a reason you can't just put the commands directly in your email? Walt On Wed, Jan 20, 2021 at 11:51:14AM -0500, H Mottaleb via plug wrote: > Would someone please help me to mount the usb drive on the server. > > I tried the following commands but it didn’t work. Thanks > > https://uploadpie.com/lFnCd1 > > > On Jan 19, 2021, at 8:47 PM, Rich Freeman <r-plug@thefreemanclan.net> wrote: > > > > On Tue, Jan 19, 2021 at 8:18 PM H Mottaleb via plug > > <plug@lists.phillylinux.org> wrote: > >> > >> Please see the image below and let me know how I should setup my new 2TB drive. I am not sure why Linux is creating so many different partitions but I would like to have everything on one if possible. > >> > > > > First, your idea of setting up a new host and then mounting the disk > > in the other host via USB to copy the files over is fine. > > > > It will be easier if you rename the volume group on the new host > > though otherwise getting it mounted on the old host will be a pain. > > Right now it is called ubuntu-vg which is the default - you can call > > it anything else that you want. > > > > Here is the deal with all those partitions, and you can do two things > > on that screen to make your life easier. > > > > First, you have two physical partitions for /boot and /boot/efi - you > > can't do anything about that really. That is just needed to get your > > system booted. > > > > Then you have one more physical partition on the disk that contains > > all but 1.5GB of the space. That is just a container for LVM volumes, > > which let you more flexibly deal with the rest of the partitioning. > > Physical partitions are a real pain to manipulate. LVM partitions are > > very easy to manipulate - you can grow and shrink and move them > > between disks without even having to shut anything down. That is why > > it is recommended that you use it (or one of a few competing > > technologies - LVM is probably the simplest). > > > > Within that 3rd partition the system wants to create a single logical > > volume called ubuntu-lv that is going to be used as your root > > partition. > > > > Here are the two changes I would make: > > 1. Rename the volume group to anything else - like <hostname>-vg if you want. > > 2. Resize that root partition from 200G up to maybe 1TB to start. > > > > That will make it easier to copy your other files over, and it will > > give you a lot more space on your root filesystem to start, which > > means you don't have to worry about mounting anything for your > > /var/lib/goetherium directory. > > > > The reason that I suggest renaming the volume group is that the other > > host has a volume group named ubuntu-vg. That means that if you > > remove the disk and try to mount it on the other system, you'll have > > to jump through a lot of hoops to do anything with it. LVM tends to > > get upset when you have to VGs with the same name at the same time. > > > > -- > > Rich > > ___________________________________________________________________________ > > Philadelphia Linux Users Group -- http://www.phillylinux.org > > Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce > > General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug > ___________________________________________________________________________ > Philadelphia Linux Users Group -- http://www.phillylinux.org > Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce > General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
Attachment:
signature.asc
Description: PGP signature
___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug