[Root @ rhfour ~] #Fdisk-l
Disk/dev/SDA: 5368 MB, 5368709120 bytes
255 heads, 63 sectors/track, 652 Cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Device boot start end blocks ID system
/Dev/sda1*1 13 104391 83 Linux
/Dev/sda2 14 459 3582495 83 Linux
/Dev/sda3 460 522 506047 + 82 Linux swap
Disk/dev/SDB: 3221 MB, 3221225472 bytes
255 heads, 63 sectors/track, 391 cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Disk/dev/SDB doesn' t contain a valid Partition Table
[Root @ rhfour ~] #Fdisk/dev/SDB
Device contains neither a valid DOS partition table, Nor Sun, SGI or OSF disklabel
Building a new dos disklabel. changes will remain in memory only,
Until you decide to write them. After that, of course, the previous
Content won't be recoverable.
Warning: Invalid flag 0x0000 of Partition Table 4 will be corrected by W (RITE)
Command (M for help ):N
Command action
E extended
P primary partition (1-4)
P
Partition Number (1-4 ):1
First cylinder (1-391, default 1 ):
Using default value 1
Last cylinder or + size or + sizem or + sizek (1-391, default 391 ):
Using default value 391
Command (M for help ):W
The partition table has been altered!
Calling IOCTL () to re-read partition table.
Syncing disks.
[Root @ rhfour ~] #Mkfs-T ext3/dev/sdb1
Mke2fs 1.35 (28-feb-2004)
Filesystem label =
OS type: Linux
Block size = 4096 (log = 2)
Fragment size = 4096 (log = 2)
393216 inodes, 785169 Blocks
39258 blocks (5.00%) reserved for the Super User
First data block = 0
Maximum filesystem blocks = 805306368
24 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768,983 04, 163840,229 376, 294912
Writing inode tables: Done
Creating Journal (8192 blocks): Done
Writing superblocks and filesystem accounting information: Done
This filesystem will be automatically checked every 27 mounts or
180 days, whichever comes first. Use tune2fs-C or-I to override.
[Root @ rhfour ~] #Mkdir/oradata
[Root @ rhfour ~] #Mount-T ext3/dev/sdb1/oradata
Boot automatic hard drive: Add the following sentence under/etc/fstab
/Dev/sdb1/oradata ext3 defaults 0 0