bit more on this at bottom

On 02/04/2017 10:49 PM, Robert Moskowitz wrote:
When I created the server image, I used the --resizefs option.

This seemed to work. But I put the mSD card into my notebook to copy all of my files for the web server, and I am seeing only:

# df -h
Filesystem      Size  Used Avail Use% Mounted on
....
/dev/sdc4       2.8G  1.8G  1.1G  63% /run/media/rgm/__

but parted says:

# parted /dev/sdc print
Model: Generic- SD/MMC (scsi)
Disk /dev/sdc: 15.5GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system     Flags
 1      1049kB  31.5MB  30.4MB  primary  fat16           lba
 2      31.5MB  543MB   512MB   primary  ext4            boot
 3      543MB   1055MB  512MB   primary  linux-swap(v1)
 4      1055MB  15.5GB  14.5GB  primary  xfs


gparted information on the partition reports:

10.69 GiB of unallocated space within the partition.
To grow the file system to fill the partition, select the partition and choose the menu item:
Partition --> Check.

For now all I am going to do is copy a few files until I get direction here on how to fix this.

Put the mSD card back in the Cubie and see:

# df -h
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        446M     0  446M   0% /dev
tmpfs           501M     0  501M   0% /dev/shm
tmpfs           501M  408K  501M   1% /run
tmpfs           501M     0  501M   0% /sys/fs/cgroup
/dev/mmcblk0p4  2.8G  1.8G  1.1G  64% /
/dev/mmcblk0p2  457M  304M  139M  69% /boot
tmpfs           101M     0  101M   0% /run/user/0

So definitely there is a problem with the resizefs option.

Or maybe I just did something wrong....

_______________________________________________
arm mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to