Hi all. quick "from the idiot's gallery" question here.
Got an extra machine with two 250 GB drives in it. Drive 1 has the OS (Ubuntu server) and not much else. Drive 2 has a single partition (/media) that holds subdirectories with a bazillion files I want occasional access to via Samba.
Drive 1 seems to be showing up as the right size, but drive 2 looks to be missing a solid 120GB.
My question: Any way to resize/repartition/re-something drive 2 without losing all the data that's on there?
Df -h output below:
#df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/plattsburg-root 228G 1.3G 215G 1% / varrun 252M 2.0M 250M 1% /var/run varlock 252M 0 252M 0% /var/lock udev 252M 64K 252M 1% /dev devshm 252M 0 252M 0% /dev/shm /dev/sda1 236M 24M 200M 11% /boot /dev/sdb1 126G 46G 75G 39% /media
Many thanks, Greg
I think *fdisk -l /dev/sdb* will work better.
On Jan 13, 2008 6:07 PM, Shawn C. Powell [email protected] wrote:
Drive 1 seems to be showing up as the right size, but drive 2 looks to
be
missing a solid 120GB.
What does fdisk -l /dev/sdb1 show?
Have you thought of running qtparted or gparted on the drive? If you are running Ubuntu, you will have these available. If not currently loaded, then they are avail in the repos. You could also boot with the Ubuntu LiveCD and use it from there. I use Kubuntu and it is on their LiveCD.
Brian
On Jan 13, 2008 5:24 PM, Greg Brooks <> wrote:
Hi all. quick "from the idiot's gallery" question here.
Got an extra machine with two 250 GB drives in it. Drive 1 has the OS (Ubuntu server) and not much else. Drive 2 has a single partition (/media) that holds subdirectories with a bazillion files I want occasional access to via Samba.
Drive 1 seems to be showing up as the right size, but drive 2 looks to be missing a solid 120GB.
My question: Any way to resize/repartition/re-something drive 2 without losing all the data that's on there?
Many thanks, Greg