I am installing backup2 and following the instuctions from dmay for configuring the hard drive. Please follow the string of commands and results below.
What do I need to do differently to format this drive?
Thanks!!!!
[root@smeserver ~]# dd if=/dev/zero of=/dev/sda1 bs=512 count=63
63+0 records in
63+0 records out
[root@smeserver ~]# fdisk /dev/sda1
last_lba(): I don't know how to handle files with mode 81a4
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.
You must set cylinders.
You can do this from the extra functions menu.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help): x
Expert command (m for help): c
Number of cylinders (1-1048576): 60800
The number of cylinders for this disk is set to 60800.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Expert command (m for help): r
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-60800, default 1): 60800
Command (m for help): p
Disk /dev/sda1: 0 MB, 0 bytes
255 heads, 63 sectors/track, 60800 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1p1 60800 60800 8032+ 83 Linux
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 25: Inappropriate ioctl for device.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
[root@smeserver ~]# mkfs.ext3 /dev/sda1
mke2fs 1.35 (28-Feb-2004)
/dev/sda1 is not a block special device.
Proceed anyway? (y,n) y
/dev/sda1: Not enough space to build proposed filesystem while setting up superblock