Would someone please help me to mount the usb drive on the server.
I tried the following commands but it didn’t work. Thanks
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 diskin 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 hostthough 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 callit anything else that you want.Here is the deal with all those partitions, and you can do two thingson that screen to make your life easier.First, you have two physical partitions for /boot and /boot/efi - youcan't do anything about that really. That is just needed to get yoursystem booted.Then you have one more physical partition on the disk that containsall 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 arevery easy to manipulate - you can grow and shrink and move thembetween disks without even having to shut anything down. That is whyit is recommended that you use it (or one of a few competingtechnologies - LVM is probably the simplest).Within that 3rd partition the system wants to create a single logicalvolume called ubuntu-lv that is going to be used as your rootpartition.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 willgive you a lot more space on your root filesystem to start, whichmeans 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 otherhost has a volume group named ubuntu-vg. That means that if youremove the disk and try to mount it on the other system, you'll haveto jump through a lot of hoops to do anything with it. LVM tends toget upset when you have to VGs with the same name at the same time.-- Rich___________________________________________________________________________Philadelphia Linux Users Group -- http://www.phillylinux.orgAnnouncements - http://lists.phillylinux.org/mailman/listinfo/plug-announceGeneral Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|