<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Carl Keil wrote:
<blockquote cite="mid:49F0E5B9.9080101@snarlnet.com" type="cite">
  <blockquote type="cite">  Carl Keil wrote:
    <br>
    <blockquote type="cite">Hey People,
      <br>
      <br>
Is there anything special I need to do to install and format a 1TB
drive?  I installed a 500Gig drive on an older Fedora installation a
while ago and it wouldn't see the whole drive until I increased the
block size, I'm hoping I don't have to do that on this server.  Is a
1TB drive basically plug and play on 32 bit Centos 5.
      <br>
      <br>
Also, how would you fdisk and format it?  Would you do anything special
filesystem-wise?  I'm pretty new to >300 Gig drives.
      <br>
Thanks so much,
      <br>
      <br>
ck
      <br>
    </blockquote>
    <br>
Shouldn't be anything special necessary.  I routinely do 1TB and 2TB
partitions on RAID arrays with CentOS and RHEL.  Your 1TB drive should
be plug 'n' chug.
    <br>
    <br>
Now, as to how to partition it, well, that depends on how you're going
to use this drive on this system.  Can you give us any details on that
so we can best advise you?
    <br>
    <br>
--TP
    <br>
  </blockquote>
  <br>
Well, I didn't want to get into specifics because this isn't exactly
educational.  I'm going to be using this drive as storage for MythTV
recordings.  So, mostly huge files bigger than 5Gigs each.
  <br>
  <br>
BTW - Here's what I'm talking about.  This doesn't look right to me. 
First I fdisk I typed n for new partition, I selected primary, I
numbered it 1, then I took the defaults for first and end block.  Then
I hit "w" to write it to the partition table.  Then I did the
following.  That looks like an awfully small partition to me.  What did
I do wrong?
  <br>
  <br>
Thanks,
  <br>
  <br>
[root@kitkat ~]# mkfs.ext3 /dev/sdb1
  <br>
mke2fs 1.39 (29-May-2006)
  <br>
Filesystem label=
  <br>
OS type: Linux
  <br>
Block size=4096 (log=2)
  <br>
Fragment size=4096 (log=2)
  <br>
122109952 inodes, 244190000 blocks
  <br>
12209500 blocks (5.00%) reserved for the super user
  <br>
First data block=0
  <br>
Maximum filesystem blocks=0
  <br>
7453 block groups
  <br>
32768 blocks per group, 32768 fragments per group
  <br>
16384 inodes per group
  <br>
Superblock backups stored on blocks:
  <br>
       32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632,
2654208,
  <br>
       4096000, 7962624, 11239424, 20480000, 23887872, 71663616,
78675968,
  <br>
       102400000, 214990848
  <br>
  <br>
Writing inode tables: done                           Creating journal
(32768 blocks): done
  <br>
Writing superblocks and filesystem accounting information: done
  <br>
  <br>
This filesystem will be automatically checked every 20 mounts or
  <br>
180 days, whichever comes first.  Use tune2fs -c or -i to override.
  <br>
[root@kitkat ~]# df /dev/sdb1
  <br>
Filesystem           1K-blocks      Used Available Use% Mounted on
  <br>
-                       513468       124    513344   1% /dev
  <br>
</blockquote>
<br>
<br>
Ah, that's becaues you're looking at the (unmounted) device node
directly with df.  Don't do that.  Instead, mount it somewhere (e. g.
/mnt/sdb1) and then run df against that mount point.  Something like
this....<br>
<br>
su - root<br>
mkdir /MythTVShows<br>
mount -t ext3 /dev/sdb1 /MythTVShows<br>
df /MythTVShows<br>
<br>
Note that on all of my GNU/Linux boxes, once you mount the partition
somewhere, then you can also run df against the device node itself
(/dev/sdb1, in this case) and get correct numbers.<br>
<br>
--TP<br>
<div class="moz-signature">
_______________________________
<br>
Do you <a href="http://www.gnu.org">GNU</a>?
<br>
<a href="http://www.cmosnetworks.com">Microsoft Free since 2003</a>--the
ultimate antivirus protection!
<br>
</div>
<br>
</body>
</html>