On Monday, 9 January 2017 08:38:12 UTC-5, Unman  wrote:
> On Mon, Jan 09, 2017 at 01:12:38PM +0100, Alex wrote:
> > On 01/09/2017 01:03 PM, Bernhard wrote:
> > > Hello, I am not expert, but often such differences are explained by
> > > the following calculation: 1 KB is 2^10 = 1024 bytes and not 1000.
> > > While this difference is little, in third power it becomes big: 2^30
> > > * 53= 56,908,316,672 so *real* 53 GiB are approx 60 * 10^6 bytes
> > > which sometimes are called GB al well ...  Bernhard
> > > 
> > > On 01/09/2017 12:02 PM, dumbcyber wrote:
> > >> I built Qubes on a 64Gb USB stick. I then successfully cloned the
> > >> stick to an external SSD drive using Clonezilla. The SSD drive is
> > >> 500Gb in total size.
> > >> 
> > >> As a result my /dev/mapper/qubes_dom000-root on the SSD is only
> > >> 53Gb in total size according to "df -h" in dom0.
> > >> 
> > >> I used gparted on another linux machine to extend the size of this
> > >> partition (qubes_dom000) to the full size available. Gparted then
> > >> shows 57Gb used and 360Gb free.
> > >> 
> > >> I boot off the SSD into Qubes and run "df -h" again but it still
> > >> shows only 53G total size.
> > >> 
> > >> Is there a "right" way to extend the size of
> > >> /dev/mapper/qubes_dom000-root, if in fact its at all possible?
> > >> 
> > >> Thanks in advance.
> > >> 
> > > 
> > The problem here is not the rounding (yes, usb pen drives are usually
> > measured with the SI interpretation of the multiplication prefixes) but
> > the enlargement of the filesystem.
> > 
> > dumbcyber wrote that he correctly adjusted the partition size, but
> > that's not enough; the filesystem on it has to be resized as well.
> > 
> > I'm not an expert with lvm either, but online guides can be found on
> > resizing LVM volumes and filesystems...
> > 
> > -- 
> > Alex
> > 
> 
> Assuming that the LV has been succesfully resized then resize2fs is what
> you need.

Thanks, ran this from dom0 and worked fine.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/cfeaf6e0-bfb8-4c9a-be4f-ce22a87e45d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to