From: David K. <da...@ke...> - 2020-05-23 18:52:25
|
So, if I switch to a separate kd partition, can I use tarsnap restore or is it tied to the old layout? David On Sat, May 23, 2020 at 2:18 PM Lonnie Abelbeck <li...@lo...> wrote: > > Now to decide whether to do the same on my main Astlinux (after backup / > snapshot!) or go with a new install to get the separate kd partition. > > You know you have to give it a try :-) > > Using the latest pre-release as the installer: > https://www.astlinux-project.org/dev.html > > Guest VM x86-64bit ISO: > > https://s3.amazonaws.com/beta.astlinux-project/iso/astlinux-beta-genx86_64-vm.iso > > Lonnie > > > > On May 23, 2020, at 12:59 PM, David Kerr <da...@ke...> wrote: > > > > GParted works!! At least on my test VM. I put the GParted ISO onto my > ESXi datastore, created a VM, attached the target disk as a 2nd disk, then > booted from the ISO. I could then select the target disk and resize it > easily. Shutdown the GParted VM, removed the 2nd disk, booted my test > Astlinux and the partition was resized. Now to decide whether to do the > same on my main Astlinux (after backup / snapshot!) or go with a new > install to get the separate kd partition. > > > > David > > > > On Sat, May 23, 2020 at 1:42 PM Michael Keuter <li...@mk...> > wrote: > > > > > > > Am 23.05.2020 um 19:33 schrieb David Kerr <da...@ke...>: > > > > > > If I create fresh from an ISO install, how is the available disk > partitioned... does most of it get assigned to the kd ? > > > > > > David > > > > Yes, you can only configure the size of ASTURW (default 256 MB, I set it > to 512MB), the rest is for /mnt/kd/. > > > > > On Sat, May 23, 2020 at 1:26 PM Michael Keuter <li...@mk...> > wrote: > > > > > > > > > > Am 23.05.2020 um 19:08 schrieb Lonnie Abelbeck < > li...@lo...>: > > > > > > > > > > > > > > > >> On May 23, 2020, at 11:15 AM, David Kerr <da...@ke...> wrote: > > > >> > > > >> Is it possible to expand the disk partition that Astlinux uses? > For example I am running a test system in ESXi and expanded the disk from > 16GB to 32GB. I can see that the "physical" disk is expanded in Astlinux > using fdisk... but is there a non-destructive way to expand /dev/sda2 to > use that full space? > > > >> > > > >> pbx-test / # fdisk -l > > > >> Disk /dev/sda: 32 GiB, 34359738368 bytes, 67108864 sectors > > > >> Units: sectors of 1 * 512 = 512 bytes > > > >> Sector size (logical/physical): 512 bytes / 512 bytes > > > >> I/O size (minimum/optimal): 512 bytes / 512 bytes > > > >> Disklabel type: dos > > > >> Disk identifier: 0xdd48f40c > > > >> > > > >> Device Boot Start End Sectors Size Id Type > > > >> /dev/sda1 * 2048 524159 522112 255M 6 FAT16 > > > >> /dev/sda2 524288 33554431 33030144 15.8G 83 Linux > > > >> pbx-test / # > > > >> > > > >> Thanks > > > >> David > > > > > > > > Interesting question. > > > > > > > > Looking at this: > > > > https://geekpeek.net/resize-filesystem-fdisk-resize2fs/ > > > > > > > > This would require access via the RUNNIX shell, which has fdisk, > e2fsck, but we don't include resize2fs. > > > > > > > > Kind of a unique scenario for only VM's, but I understand why you > want this. > > > > > > > > Just thinking out loud ... could you create a new VM disk and > install AstLinux from scratch via the ISO installer, then shutdown, attach > the old VM drive along with the new VM drive and boot into the RUNNIX > shell, mount common partitions and "cp -a ..." the files from the small > partition to the large partition. > > > > > > > > For extra credit, could you use this technique to take a unionfs > /mnt/kd and convert it to a sda3 /mnt/kd ? > > > > > > > > We could look at enabling resize2fs for RUNNIX builds if this is > useful, regardless it is kind of scary deleting the partition you have data > on. > > > > > > > > Lonnie > > > > > > Since it is a VM, I would create a backup first, and then try GParted: > > > > > > https://gparted.org/download.php > > > > > > Michael > > > > Michael > > > > http://www.mksolutions.info > > > > > > > > > > > > _______________________________________________ > > Astlinux-devel mailing list > > Ast...@li... > > https://lists.sourceforge.net/lists/listinfo/astlinux-devel > > _______________________________________________ > > Astlinux-devel mailing list > > Ast...@li... > > https://lists.sourceforge.net/lists/listinfo/astlinux-devel > > > > _______________________________________________ > Astlinux-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/astlinux-devel > |