On Tue, Jul 12, 2011 at 12:31 PM, Hugo Vanwoerkom <hvw59...@care2.com>wrote:
> Hi, > > I created a 20GB partition: > > Model: SAMSUNG HD502HJ (scsi) > Disk /dev/sdb: 500GB > Sector size (logical/physical): 512B/512B > Partition Table: msdos > > Number Start End Size Type File system Flags > 1 32.3kB 20.0GB 20.0GB primary ext2 > 2 20.0GB 40.0GB 20.0GB primary ext2 > > Then I restored with partimage a partition to /dev/sdb2 that was originally > 13GB. > > Now df shows that /dev/sdb2 is only 13GB: > > debian:/var/cache/apt/**archives# df > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/sdb2 13456580 7654296 5118720 60% / > tmpfs 1033084 0 1033084 0% /lib/init/rw > udev 10240 824 9416 9% /dev > tmpfs 1033084 0 1033084 0% /dev/shm > /dev/sdb1 19228276 3808488 14443040 21% /sdb1 > > How do I get that pack to 20GB? > > Hugo > > > You restored a partition that had been formatted for 13G, so only 13G is available. I believe that you can use gparted to resize the file system. Stuart