1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
Create partitions
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF 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)
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').
Command (m for help): DOS Compatibility flag is not set
Command (m for help): Changing display/entry units to sectors
Command (m for help): Command action
e extended
p primary partition (1-4)
Partition number (1-4, default 1): First sector (2048-104447, default 2048): Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-104447, default 104447):
Command (m for help): Command action
e extended
p primary partition (1-4)
Partition number (1-4, default 2): First sector (53248-104447, default 53248): Using default value 53248
Last sector, +sectors or +size{K,M,G} (53248-104447, default 104447): Using default value 104447
Command (m for help):
Disk /dev/sdb: 53 MB, 53477376 bytes
32 heads, 32 sectors/track, 102 cylinders, total 104448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 32768 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 2048 53247 25600 83 Linux
/dev/sdb2 53248 104447 25600 83 Linux
Command (m for help): The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
Create RAID1 device
Probe whole-disk
ID_PART_TABLE_TYPE=dos
Probe first RAID member
ID_FS_TYPE=linux_raid_member
ID_FS_USAGE=raid
ID_FS_VERSION=0.90.0
ID_PART_ENTRY_NUMBER=1
ID_PART_ENTRY_SCHEME=dos
ID_PART_ENTRY_TYPE=0x83
ID_PART_ENTRY_TYPE_ENC=0x83
Probe second RAID member
ID_FS_TYPE=linux_raid_member
ID_FS_USAGE=raid
ID_FS_VERSION=0.90.0
ID_PART_ENTRY_NUMBER=2
ID_PART_ENTRY_SCHEME=dos
ID_PART_ENTRY_TYPE=0x83
ID_PART_ENTRY_TYPE_ENC=0x83
|