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
|
Create partitions
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table
Command (m for help): Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p): 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): Partition 1 of type Linux and of size 25 MiB is set
Command (m for help): Partition type:
p primary (1 primary, 0 extended, 3 free)
e extended
Select (default p): 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
Partition 2 of type Linux and of size 25 MiB is set
Command (m for help):
Disk /dev/...: 53 MB, 53477376 bytes, 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/...1 2048 53247 25600 83 Linux
/dev/...2 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_UUID=__ts_uuid__
ID_FS_UUID_ENC=__ts_uuid_enc__
ID_FS_VERSION=0.90.0
ID_PART_ENTRY_DISK=__ts_majorminor__
ID_PART_ENTRY_NUMBER=1
ID_PART_ENTRY_OFFSET=2048
ID_PART_ENTRY_SCHEME=dos
ID_PART_ENTRY_SIZE=51200
ID_PART_ENTRY_TYPE=0x83
Probe second RAID member
ID_FS_TYPE=linux_raid_member
ID_FS_USAGE=raid
ID_FS_UUID=__ts_uuid__
ID_FS_UUID_ENC=__ts_uuid_enc__
ID_FS_VERSION=0.90.0
ID_PART_ENTRY_DISK=__ts_majorminor__
ID_PART_ENTRY_NUMBER=2
ID_PART_ENTRY_OFFSET=53248
ID_PART_ENTRY_SCHEME=dos
ID_PART_ENTRY_SIZE=51200
ID_PART_ENTRY_TYPE=0x83
|