Понедельник (03/22/10)

/dev/pts/1
15:06:30
#fdisk /dev/md0
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x0fa3c033.
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 1049056.
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/md0: 4296 MB, 4296933376 bytes
2 heads, 4 sectors/track, 1049056 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x0fa3c033
    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): 1
First cylinder (1-1049056, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-1049056, default 1049056):
Using default value 1049056
Command (m for help): p
Disk /dev/md0: 4296 MB, 4296933376 bytes
2 heads, 4 sectors/track, 1049056 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x0fa3c033
    Device Boot      Start         End      Blocks   Id  System
/dev/md0p1               1     1049056     4196222   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 22: Недопустимый аргумент.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.