|
Edited by sundeepgoel at 2019-4-12 16:49
Hi,
I have moved from SD card to SSD following https://elinux.org/Transfer_system_disk_from_SD_card_to_hard_disk and now have / pointing to /dev/sda1, however, the filesystem size is not increasing even after running resize2fs
output of mount/dev/sda1 on / type ext4 (rw)
/dev/sda1 on / type ext4 (rw) <- / mounted to SSD i.e. sda1
none on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
devtmpfs on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
overflow on /tmp type tmpfs (rw,size=1048576,mode=1777)
/dev/sda1 on /dev/root type ext4 (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/108/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=lightdm)
output of parted - l
Model: External USB3.0 (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 32.2GB 32.2GB primary ext4 <- size of sda1
2 32.2GB 120GB 87.8GB primary
Model: SD SL16G (sd/mmc)
Disk /dev/mmcblk0: 15.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 21.0MB 64.0MB 43.0MB primary fat16
2 64.0MB 3670MB 3606MB primary ext4
output of df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 3.4G 3.3G 0 100% / <- core issue, i.e. size of / or /dev/root due to which getting disk full error
devtmpfs 374M 4.0K 374M 1% /dev
none 4.0K 0 4.0K 0% /sys/fs/cgroup
none 101M 656K 100M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 502M 0 502M 0% /run/shm
none 100M 4.0K 100M 1% /run/user
overflow 1.0M 4.0K 1020K 1% /tmp
/dev/sda1 30G 3.0G 26G 11% /dev/root
please advise on how to resize /dev/root mapped to /?
|
|