- Code: Select all
root@runeaudio(ro):~# set_rw
root@runeaudio(rw):~# resize2fs /dev/mmcblk0p1
resize2fs 1.42.13 (17-May-2015)
The filesystem is already 524288 (4k) blocks long. Nothing to do!
root@runeaudio(rw):~# fdisk /dev/mmcblk0
Welcome to fdisk (util-linux 2.27.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): p
Disk /dev/mmcblk0: 14.4 GiB, 15489564672 bytes, 30253056 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: 0x000b0000
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 4196351 4194304 2G 83 Linux
/dev/mmcblk0p2 4196352 30253055 26056704 12.4G 83 Linux
Command (m for help): q
root@runeaudio(rw):~# df -h
Filesystem Size Used Avail Use% Mounted on
dev 736M 0 736M 0% /dev
run 860M 17M 843M 2% /run
/dev/mmcblk0p1 2.0G 1.9G 0 100% /
tmpfs 860M 0 860M 0% /dev/shm
tmpfs 860M 0 860M 0% /sys/fs/cgroup
tmpfs 860M 4.0K 860M 1% /tmp
tmpfs 860M 4.5M 855M 1% /aufs/rw
none 860M 4.5M 855M 1% /var
none 860M 4.5M 855M 1% /home
none 860M 4.5M 855M 1% /etc
none 860M 4.5M 855M 1% /mnt
logs 5.0M 40K 5.0M 1% /var/log
rune-logs 5.0M 96K 5.0M 2% /var/log/runeaudio
/dev/sda1 58G 38G 21G 65% /mnt/MPD/USB/Dung64GB
root@runeaudio(rw):~#