iluvatar@mirkwood mircdev $ dmesg Linux version 2.6.11-adeos-r11 (root@mirkwood) (gcc version 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)) #1 SMP Sat Aug 26 08:20:16 GMT 2006 BIOS-provided physical RAM map: [...........................] scsi0 : ata_piix Vendor: ATA Model: WDC WD1200JD-00H Rev: 08.0 Type: Direct-Access ANSI SCSI revision: 05 Vendor: ATA Model: HDS724040KLSA80 Rev: KFAO Type: Direct-Access ANSI SCSI revision: 05 SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) SCSI device sda: drive cache: write back SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) SCSI device sda: drive cache: write back /dev/scsi/host0/bus0/target0/lun0: p1 p2 p3 Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 SCSI device sdb: 781422768 512-byte hdwr sectors (400088 MB) SCSI device sdb: drive cache: write back SCSI device sdb: 781422768 512-byte hdwr sectors (400088 MB) SCSI device sdb: drive cache: write back /dev/scsi/host0/bus0/target1/lun0: p1 Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0 [......................] scsi8 : Marvell SCSI to SATA adapter Vendor: Seagate Model: ST3750640AS Rev: 3.AA Type: Direct-Access ANSI SCSI revision: 03 SCSI device sdc: 1465149168 512-byte hdwr sectors (750156 MB) SCSI device sdc: drive cache: write back SCSI device sdc: 1465149168 512-byte hdwr sectors (750156 MB) SCSI device sdc: drive cache: write back /dev/scsi/host3/bus0/target0/lun0: unknown partition table Attached scsi disk sdc at scsi3, channel 0, id 0, lun 0 Vendor: Hitachi Model: HDT722525DLA380 Rev: V44O Type: Direct-Access ANSI SCSI revision: 03 SCSI device sdd: 488397168 512-byte hdwr sectors (250059 MB) SCSI device sdd: drive cache: write back SCSI device sdd: 488397168 512-byte hdwr sectors (250059 MB) SCSI device sdd: drive cache: write back /dev/scsi/host4/bus0/target0/lun0: p1 p2 p3 Attached scsi disk sdd at scsi4, channel 0, id 0, lun 0 Vendor: WDC Model: WD1200JD-22HBB0 Rev: 08.0 Type: Direct-Access ANSI SCSI revision: 03 SCSI device sde: 234441648 512-byte hdwr sectors (120034 MB) SCSI device sde: drive cache: write back SCSI device sde: 234441648 512-byte hdwr sectors (120034 MB) SCSI device sde: drive cache: write back /dev/scsi/host5/bus0/target0/lun0: p1 p2 p3 Attached scsi disk sde at scsi5, channel 0, id 0, lun 0 [............................] ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- iluvatar@mirkwood mircdev $ sudo fdisk /dev/sdc 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. The number of cylinders for this disk is set to 91201. 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) Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) Command (m for help): p Disk /dev/sdc: 750.1 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): Value out of range. Partition number (1-4): 1 First cylinder (1-91201, default 1): Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-91201, default 91201): Using default value 91201 Command (m for help): p Disk /dev/sdc: 750.1 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdc1 1 91201 732572001 83 Linux Command (m for help): h h: unknown command Command action a toggle a bootable flag b edit bsd disklabel c toggle the dos compatibility flag d delete a partition l list known partition types m print this menu n add a new partition o create a new empty DOS partition table p print the partition table q quit without saving changes s create a new empty Sun disklabel t change a partition's system id u change display/entry units v verify the partition table w write table to disk and exit x extra functionality (experts only) Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. iluvatar@mirkwood mircdev $ sudo fdisk /dev/sdc The number of cylinders for this disk is set to 91201. 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) Command (m for help): p Disk /dev/sdc: 750.1 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdc1 1 91201 732572001 83 Linux Command (m for help): q iluvatar@mirkwood mircdev $ mk mk_cmds mkdir mkfs mkfs.ext2 mkinfodir mknod mktemp mkboot mke2fs mkfs.bfs mkfs.ext3 mkisofs mkpasswd mkdict mkfifo mkfs.cramfs mkfs.minix mklost+found mkswap iluvatar@mirkwood mircdev $ mkfs mkfs mkfs.bfs mkfs.cramfs mkfs.ext2 mkfs.ext3 mkfs.minix iluvatar@mirkwood mircdev $ man mkfs iluvatar@mirkwood mircdev $ man mkfs.ext3 iluvatar@mirkwood mircdev $ mk mk_cmds mkdir mkfs mkfs.ext2 mkinfodir mknod mktemp mkboot mke2fs mkfs.bfs mkfs.ext3 mkisofs mkpasswd mkdict mkfifo mkfs.cramfs mkfs.minix mklost+found mkswap iluvatar@mirkwood mircdev $ mke2fs -j -L BACKUP Usage: mke2fs [-c|-t|-l filename] [-b block-size] [-f fragment-size] [-i bytes-per-inode] [-j] [-J journal-options] [-N number-of-inodes] [-m reserved-blocks-percentage] [-o creator-os] [-g blocks-per-group] [-L volume-label] [-M last-mounted-directory] [-O feature[,...]] [-r fs-revision] [-R raid_opts] [-qvSV] device [blocks-count] iluvatar@mirkwood mircdev $ mke2fs /dev/sdc -j -L BACKUP sdc sdc1 sdc10 sdc11 sdc12 sdc13 sdc14 sdc15 sdc2 sdc3 sdc4 sdc5 sdc6 sdc7 sdc8 sdc9 iluvatar@mirkwood mircdev $ mke2fs /dev/sdc1 -j -L BACKUP mke2fs 1.35 (28-Feb-2004) mke2fs: Permission denied while trying to determine filesystem size iluvatar@mirkwood mircdev $ sudo mke2fs /dev/sdc1 -j -L BACKUP mke2fs 1.35 (28-Feb-2004) Filesystem label=BACKUP OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 91586560 inodes, 183143000 blocks 9157150 blocks (5.00%) reserved for the super user First data block=0 5590 block groups 32768 blocks per group, 32768 fragments per group 16384 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 102400000 Writing inode tables: done Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 34 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. iluvatar@mirkwood mircdev $ mount /backup mount: only root can mount /dev/sdc1 on /backup iluvatar@mirkwood mircdev $ sudo mount /backup Password: iluvatar@mirkwood mircdev $ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 107G 3.3G 98G 4% / /dev/sda1 38M 3.6M 33M 10% /boot /dev/sdb1 367G 33G 316G 10% /data none 443M 0 443M 0% /dev/shm /dev/sdc1 688G 33M 653G 1% /backup iluvatar@mirkwood mircdev $ ls /backup lost+found iluvatar@mirkwood mircdev $