[ale] Seagate Hdd Not Lining Up!?

Marc Ferguson marcferguson at gmail.com
Sat Jul 11 21:27:02 EDT 2009


On Sat, Jul 11, 2009 at 9:28 PM, Michael B. Trausch <mbt at zest.trausch.us>wrote:

> On Sat, 11 Jul 2009, Brian Pitts wrote:
>
> > Marc Ferguson wrote:
> > > [root at fergatron ~]# fdisk -l /dev/sdb
> >>
> >> Disk /dev/sdb: 320.0 GB, 320072933376 bytes
> >> 255 heads, 63 sectors/track, 38913 cylinders
> >> Units = cylinders of 16065 * 512 = 8225280 bytes
> >> Disk identifier: 0x0b99f72f
> >>
> >>    Device Boot      Start         End      Blocks   Id  System
> >> /dev/sdb1               1       38913   312568641   83  Linux
> >> [root at fergatron ~]#
> >>
> >> I'm not fully comprehending these outputs. Do they indicate anything of
> >> significance?
> >>
> >
> > That looks like one (roughly) 320 GB partition to me. You could try to
> > grow the filesystem by running the following as root
> >
> > umount /dev/sdb1
> > e2fcsk -f /dev/sdb1
> > resize2fs -p /dev/sdb1
> > mount /dev/sdb1 /media/backup
>
> If the kernel is recent enough, and the filesystem is extXfs, it should be
> growable online.
>
>        --- Mike
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
>

Well Brian and Folks, 66GB used and 227.4 GB free. Well done.  I don't
understand how simply running a resize program fixed my issue. Should I have
not formatted the drive via GParted? Or was there something I should have
done in GParted?  Thanks for a little clarification and thanks for helping
me expand this drive.
The commands worked and I now have

[root at fergatron ~]# e2fsck -f /dev/sdb1
e2fsck 1.41.4 (27-Jan-2009)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
DataBackup: 89242/3842048 files (0.5% non-contiguous), 13643580/15360140
blocks
[root at fergatron ~]# man resize2fs
Formatting page, please wait...
[root at fergatron ~]# resize2fs -p /dev/sdb1
resize2fs 1.41.4 (27-Jan-2009)
Resizing the filesystem on /dev/sdb1 to 78142160 (4k) blocks.
Begin pass 1 (max = 1916)
Extending the inode table     XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
The filesystem on /dev/sdb1 is now 78142160 blocks long.

[root at fergatron ~]# mount /dev/sdb1 /media/backup
[root at fergatron ~]#


-- 
Marc F.

"When life gives me lemons... I make Linuxaide, hmm good stuff!"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20090712/d7f0320e/attachment.html 


More information about the Ale mailing list