34 | | InstaGENI Raw PCs have 1 TB drives, but by default the disk space allocation is for 16 GBytes, you must test steps to allocate more disk space, as the RAN kernel installation requires ~ 13GB of disk space. |
35 | | |
36 | | First check to see how available disk resources: |
37 | | {{{ |
38 | | lnevers@ltebase:~$ sudo fdisk -l /dev/sda* |
39 | | |
40 | | Disk /dev/sda: 1000.2 GB, 1000171331584 bytes |
41 | | 255 heads, 63 sectors/track, 121597 cylinders, total 1953459632 sectors |
42 | | Units = sectors of 1 * 512 = 512 bytes |
43 | | Sector size (logical/physical): 512 bytes / 4096 bytes |
44 | | I/O size (minimum/optimal): 4096 bytes / 4096 bytes |
45 | | Disk identifier: 0x90909090 |
46 | | |
47 | | Device Boot Start End Blocks Id System |
48 | | /dev/sda1 * 2048 33556479 16777216 83 Linux |
49 | | /dev/sda2 33556480 39847935 3145728 0 Empty |
50 | | /dev/sda3 39847936 46139391 3145728 82 Linux swap / Solaris |
51 | | /dev/sda4 46139392 1953455039 953657824 0 Empty |
52 | | |
53 | | Disk /dev/sda1: 17.2 GB, 17179869184 bytes |
54 | | 255 heads, 63 sectors/track, 2088 cylinders, total 33554432 sectors |
55 | | Units = sectors of 1 * 512 = 512 bytes |
56 | | Sector size (logical/physical): 512 bytes / 4096 bytes |
57 | | I/O size (minimum/optimal): 4096 bytes / 4096 bytes |
58 | | Disk identifier: 0x00000000 |
59 | | |
60 | | Device Boot Start End Blocks Id System |
61 | | |
62 | | Disk /dev/sda2: 3221 MB, 3221225472 bytes |
63 | | 255 heads, 63 sectors/track, 391 cylinders, total 6291456 sectors |
64 | | Units = sectors of 1 * 512 = 512 bytes |
65 | | Sector size (logical/physical): 512 bytes / 4096 bytes |
66 | | I/O size (minimum/optimal): 4096 bytes / 4096 bytes |
67 | | Disk identifier: 0x00000000 |
68 | | |
69 | | Disk /dev/sda2 doesn't contain a valid partition table |
70 | | |
71 | | Disk /dev/sda3: 3221 MB, 3221225472 bytes |
72 | | 255 heads, 63 sectors/track, 391 cylinders, total 6291456 sectors |
73 | | Units = sectors of 1 * 512 = 512 bytes |
74 | | Sector size (logical/physical): 512 bytes / 4096 bytes |
75 | | I/O size (minimum/optimal): 4096 bytes / 4096 bytes |
76 | | Disk identifier: 0x00000000 |
77 | | |
78 | | Disk /dev/sda3 doesn't contain a valid partition table |
79 | | |
80 | | Disk /dev/sda4: 976.5 GB, 976545611776 bytes |
81 | | 255 heads, 63 sectors/track, 118724 cylinders, total 1907315648 sectors |
82 | | Units = sectors of 1 * 512 = 512 bytes |
83 | | Sector size (logical/physical): 512 bytes / 4096 bytes |
84 | | I/O size (minimum/optimal): 4096 bytes / 4096 bytes |
85 | | Disk identifier: 0x00000000 |
86 | | |
87 | | Disk /dev/sda4 doesn't contain a valid partition table |
88 | | lnevers@ltebase:~$ |
89 | | }}} |
90 | | |
91 | | The above shows that ''/dev/dsa4'' is space available, we will create a partition on /dev/sda4, note that your disk may differ. |
92 | | {{{ |
93 | | lnevers@ltebase:~$ sudo mkfs -t ext3 /dev/sda4 |
94 | | mke2fs 1.42.9 (4-Feb-2014) |
95 | | Filesystem label= |
96 | | OS type: Linux |
97 | | Block size=4096 (log=2) |
98 | | Fragment size=4096 (log=2) |
99 | | Stride=0 blocks, Stripe width=0 blocks |
100 | | 59604992 inodes, 238414456 blocks |
101 | | 11920722 blocks (5.00%) reserved for the super user |
102 | | First data block=0 |
103 | | Maximum filesystem blocks=4294967296 |
104 | | 7276 block groups |
105 | | 32768 blocks per group, 32768 fragments per group |
106 | | 8192 inodes per group |
107 | | Superblock backups stored on blocks: |
108 | | 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, |
109 | | 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, |
110 | | 102400000, 214990848 |
111 | | |
112 | | Allocating group tables: done |
113 | | Writing inode tables: done |
114 | | Creating journal (32768 blocks): done |
115 | | Writing superblocks and filesystem accounting information: done |
116 | | |
117 | | lnevers@ltebase:~$ |
118 | | }}} |
119 | | |
120 | | Now we can mount the disk partition to use for the installation: |
121 | | {{{ |
122 | | lnevers@ltebase:~$ sudo mkdir /space |
123 | | lnevers@ltebase:~$ sudo mount /dev/sda4 /space |
124 | | lnevers@ltebase:~$ df -kh |
125 | | Filesystem Size Used Avail Use% Mounted on |
126 | | /dev/sda1 16G 1.8G 14G 12% / |
127 | | none 4.0K 0 4.0K 0% /sys/fs/cgroup |
128 | | udev 24G 4.0K 24G 1% /dev |
129 | | tmpfs 4.8G 860K 4.8G 1% /run |
130 | | none 5.0M 0 5.0M 0% /run/lock |
131 | | none 24G 0 24G 0% /run/shm |
132 | | none 100M 0 100M 0% /run/user |
133 | | ops.instageni.gpolab.bbn.com:/q/proj/ch-geni-net 119G 102G 8.0G 93% /proj/ch-geni-net |
134 | | /dev/sda4 896G 72M 850G 1% /space |
135 | | lnevers@ltebase:~$ |
136 | | |
137 | | }}} |
138 | | |
139 | | Note the kernel installation steps below will download files in the "/space" directory. |
140 | | |
141 | | = BIOS Requirements = |
| 33 | == BIOS Requirements == |