1 |
I seem to have the permissions wrong in fstab. On boot I do have an icon |
2 |
on the desktop for the LVM volume, which can be browsed as root, but not |
3 |
as a user. |
4 |
|
5 |
I want read/write permissions to the LVM volume as user "thufir" (or any |
6 |
user, really). Can this be done? |
7 |
|
8 |
|
9 |
arrakis ~ # |
10 |
arrakis ~ # fdisk /dev/hda |
11 |
|
12 |
The number of cylinders for this disk is set to 9729. |
13 |
There is nothing wrong with that, but this is larger than 1024, |
14 |
and could in certain setups cause problems with: |
15 |
1) software that runs at boot time (e.g., old versions of LILO) |
16 |
2) booting and partitioning software from other OSs |
17 |
(e.g., DOS FDISK, OS/2 FDISK) |
18 |
|
19 |
Command (m for help): p |
20 |
|
21 |
Disk /dev/hda: 80.0 GB, 80026361856 bytes |
22 |
255 heads, 63 sectors/track, 9729 cylinders |
23 |
Units = cylinders of 16065 * 512 = 8225280 bytes |
24 |
|
25 |
Device Boot Start End Blocks Id System |
26 |
/dev/hda1 1 1912 15358108+ 83 Linux |
27 |
/dev/hda2 1913 1925 104422+ 83 Linux |
28 |
/dev/hda3 1926 9729 62685630 8e Linux LVM |
29 |
|
30 |
Command (m for help): q |
31 |
|
32 |
arrakis ~ # |
33 |
arrakis ~ # fdisk /dev/hdb |
34 |
|
35 |
The number of cylinders for this disk is set to 59582. |
36 |
There is nothing wrong with that, but this is larger than 1024, |
37 |
and could in certain setups cause problems with: |
38 |
1) software that runs at boot time (e.g., old versions of LILO) |
39 |
2) booting and partitioning software from other OSs |
40 |
(e.g., DOS FDISK, OS/2 FDISK) |
41 |
|
42 |
Command (m for help): p |
43 |
|
44 |
Disk /dev/hdb: 30.7 GB, 30750031872 bytes |
45 |
16 heads, 63 sectors/track, 59582 cylinders |
46 |
Units = cylinders of 1008 * 512 = 516096 bytes |
47 |
|
48 |
Device Boot Start End Blocks Id System |
49 |
/dev/hdb1 1 203 102280+ 83 Linux |
50 |
/dev/hdb2 204 2109 960624 82 Linux swap / |
51 |
Solaris |
52 |
/dev/hdb3 2110 59579 28964880 83 Linux |
53 |
|
54 |
Command (m for help): q |
55 |
|
56 |
arrakis ~ # |
57 |
arrakis ~ # cat lvm.txt |
58 |
|
59 |
#load device module |
60 |
modprobe dm-mod |
61 |
#change the volumes that exist to active |
62 |
vgchange -ay |
63 |
#mount the logical partition |
64 |
mkdir -p /mnt/VolGroup00/LogVol00 |
65 |
mount /dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 |
66 |
arrakis ~ # |
67 |
arrakis ~ # cat /etc/fstab |
68 |
/dev/hdb1 /boot ext2 defaults 1 2 |
69 |
/dev/hdb2 none swap sw 0 0 |
70 |
/dev/hdb3 / ext3 noatime 0 1 |
71 |
none /proc proc defaults 0 0 |
72 |
none /dev/shm tmpfs defaults 0 0 |
73 |
/dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 ext3 |
74 |
users,rw 0 0 |
75 |
|
76 |
arrakis ~ # |
77 |
arrakis ~ # su thufir |
78 |
thufir@arrakis /root $ cd |
79 |
thufir@arrakis ~ $ |
80 |
thufir@arrakis ~ $ ll /mnt/VolGroup00/LogVol00/home/thufir/ |
81 |
ls: cannot open directory /mnt/VolGroup00/LogVol00/home/thufir/: |
82 |
Permission denied |
83 |
thufir@arrakis ~ $ |
84 |
thufir@arrakis ~ $ whoami |
85 |
thufir |
86 |
thufir@arrakis ~ $ |
87 |
thufir@arrakis ~ $ ll /home/thufir/Desktop/ |
88 |
total 0 |
89 |
thufir@arrakis ~ $ |
90 |
thufir@arrakis ~ $ |
91 |
thufir@arrakis ~ $ date |
92 |
Mon Oct 8 01:16:52 PDT 2007 |
93 |
thufir@arrakis ~ $ |
94 |
thufir@arrakis ~ $ |
95 |
|
96 |
arrakis ~ # |
97 |
arrakis ~ # fdisk /dev/hda |
98 |
|
99 |
The number of cylinders for this disk is set to 9729. |
100 |
There is nothing wrong with that, but this is larger than 1024, |
101 |
and could in certain setups cause problems with: |
102 |
1) software that runs at boot time (e.g., old versions of LILO) |
103 |
2) booting and partitioning software from other OSs |
104 |
(e.g., DOS FDISK, OS/2 FDISK) |
105 |
|
106 |
Command (m for help): p |
107 |
|
108 |
Disk /dev/hda: 80.0 GB, 80026361856 bytes |
109 |
255 heads, 63 sectors/track, 9729 cylinders |
110 |
Units = cylinders of 16065 * 512 = 8225280 bytes |
111 |
|
112 |
Device Boot Start End Blocks Id System |
113 |
/dev/hda1 1 1912 15358108+ 83 Linux |
114 |
/dev/hda2 1913 1925 104422+ 83 Linux |
115 |
/dev/hda3 1926 9729 62685630 8e Linux LVM |
116 |
|
117 |
Command (m for help): q |
118 |
|
119 |
arrakis ~ # |
120 |
arrakis ~ # fdisk /dev/hdb |
121 |
|
122 |
The number of cylinders for this disk is set to 59582. |
123 |
There is nothing wrong with that, but this is larger than 1024, |
124 |
and could in certain setups cause problems with: |
125 |
1) software that runs at boot time (e.g., old versions of LILO) |
126 |
2) booting and partitioning software from other OSs |
127 |
(e.g., DOS FDISK, OS/2 FDISK) |
128 |
|
129 |
Command (m for help): p |
130 |
|
131 |
Disk /dev/hdb: 30.7 GB, 30750031872 bytes |
132 |
16 heads, 63 sectors/track, 59582 cylinders |
133 |
Units = cylinders of 1008 * 512 = 516096 bytes |
134 |
|
135 |
Device Boot Start End Blocks Id System |
136 |
/dev/hdb1 1 203 102280+ 83 Linux |
137 |
/dev/hdb2 204 2109 960624 82 Linux swap / |
138 |
Solaris |
139 |
/dev/hdb3 2110 59579 28964880 83 Linux |
140 |
|
141 |
Command (m for help): q |
142 |
|
143 |
arrakis ~ # |
144 |
arrakis ~ # cat lvm.txt |
145 |
|
146 |
#load device module |
147 |
modprobe dm-mod |
148 |
#change the volumes that exist to active |
149 |
vgchange -ay |
150 |
#mount the logical partition |
151 |
mkdir -p /mnt/VolGroup00/LogVol00 |
152 |
mount /dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 |
153 |
arrakis ~ # |
154 |
arrakis ~ # cat /etc/fstab |
155 |
/dev/hdb1 /boot ext2 defaults 1 2 |
156 |
/dev/hdb2 none swap sw 0 0 |
157 |
/dev/hdb3 / ext3 noatime 0 1 |
158 |
none /proc proc defaults 0 0 |
159 |
none /dev/shm tmpfs defaults 0 0 |
160 |
/dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 ext3 |
161 |
users,rw 0 0 |
162 |
|
163 |
arrakis ~ # |
164 |
arrakis ~ # su thufir |
165 |
thufir@arrakis /root $ cd |
166 |
thufir@arrakis ~ $ |
167 |
thufir@arrakis ~ $ ll /mnt/VolGroup00/LogVol00/home/thufir/ |
168 |
ls: cannot open directory /mnt/VolGroup00/LogVol00/home/thufir/: |
169 |
Permission denied |
170 |
thufir@arrakis ~ $ |
171 |
thufir@arrakis ~ $ whoami |
172 |
thufir |
173 |
thufir@arrakis ~ $ |
174 |
thufir@arrakis ~ $ ll /home/thufir/Desktop/ |
175 |
total 0 |
176 |
thufir@arrakis ~ $ |
177 |
thufir@arrakis ~ $ |
178 |
thufir@arrakis ~ $ date |
179 |
Mon Oct 8 01:16:52 PDT 2007 |
180 |
thufir@arrakis ~ $ |
181 |
thufir@arrakis ~ $ |
182 |
|
183 |
arrakis ~ # |
184 |
arrakis ~ # fdisk /dev/hda |
185 |
|
186 |
The number of cylinders for this disk is set to 9729. |
187 |
There is nothing wrong with that, but this is larger than 1024, |
188 |
and could in certain setups cause problems with: |
189 |
1) software that runs at boot time (e.g., old versions of LILO) |
190 |
2) booting and partitioning software from other OSs |
191 |
(e.g., DOS FDISK, OS/2 FDISK) |
192 |
|
193 |
Command (m for help): p |
194 |
|
195 |
Disk /dev/hda: 80.0 GB, 80026361856 bytes |
196 |
255 heads, 63 sectors/track, 9729 cylinders |
197 |
Units = cylinders of 16065 * 512 = 8225280 bytes |
198 |
|
199 |
Device Boot Start End Blocks Id System |
200 |
/dev/hda1 1 1912 15358108+ 83 Linux |
201 |
/dev/hda2 1913 1925 104422+ 83 Linux |
202 |
/dev/hda3 1926 9729 62685630 8e Linux LVM |
203 |
|
204 |
Command (m for help): q |
205 |
|
206 |
arrakis ~ # |
207 |
arrakis ~ # fdisk /dev/hdb |
208 |
|
209 |
The number of cylinders for this disk is set to 59582. |
210 |
There is nothing wrong with that, but this is larger than 1024, |
211 |
and could in certain setups cause problems with: |
212 |
1) software that runs at boot time (e.g., old versions of LILO) |
213 |
2) booting and partitioning software from other OSs |
214 |
(e.g., DOS FDISK, OS/2 FDISK) |
215 |
|
216 |
Command (m for help): p |
217 |
|
218 |
Disk /dev/hdb: 30.7 GB, 30750031872 bytes |
219 |
16 heads, 63 sectors/track, 59582 cylinders |
220 |
Units = cylinders of 1008 * 512 = 516096 bytes |
221 |
|
222 |
Device Boot Start End Blocks Id System |
223 |
/dev/hdb1 1 203 102280+ 83 Linux |
224 |
/dev/hdb2 204 2109 960624 82 Linux swap / |
225 |
Solaris |
226 |
/dev/hdb3 2110 59579 28964880 83 Linux |
227 |
|
228 |
Command (m for help): q |
229 |
|
230 |
arrakis ~ # |
231 |
arrakis ~ # cat lvm.txt |
232 |
|
233 |
#load device module |
234 |
modprobe dm-mod |
235 |
#change the volumes that exist to active |
236 |
vgchange -ay |
237 |
#mount the logical partition |
238 |
mkdir -p /mnt/VolGroup00/LogVol00 |
239 |
mount /dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 |
240 |
arrakis ~ # |
241 |
arrakis ~ # cat /etc/fstab |
242 |
/dev/hdb1 /boot ext2 defaults 1 2 |
243 |
/dev/hdb2 none swap sw 0 0 |
244 |
/dev/hdb3 / ext3 noatime 0 1 |
245 |
none /proc proc defaults 0 0 |
246 |
none /dev/shm tmpfs defaults 0 0 |
247 |
/dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 ext3 |
248 |
users,rw 0 0 |
249 |
|
250 |
arrakis ~ # |
251 |
arrakis ~ # su thufir |
252 |
thufir@arrakis /root $ cd |
253 |
thufir@arrakis ~ $ |
254 |
thufir@arrakis ~ $ ll /mnt/VolGroup00/LogVol00/home/thufir/ |
255 |
ls: cannot open directory /mnt/VolGroup00/LogVol00/home/thufir/: |
256 |
Permission denied |
257 |
thufir@arrakis ~ $ |
258 |
thufir@arrakis ~ $ whoami |
259 |
thufir |
260 |
thufir@arrakis ~ $ |
261 |
thufir@arrakis ~ $ ll /home/thufir/Desktop/ |
262 |
total 0 |
263 |
thufir@arrakis ~ $ |
264 |
thufir@arrakis ~ $ |
265 |
thufir@arrakis ~ $ date |
266 |
Mon Oct 8 01:16:52 PDT 2007 |
267 |
thufir@arrakis ~ $ |
268 |
thufir@arrakis ~ $ |
269 |
|
270 |
arrakis ~ # |
271 |
arrakis ~ # fdisk /dev/hda |
272 |
|
273 |
The number of cylinders for this disk is set to 9729. |
274 |
There is nothing wrong with that, but this is larger than 1024, |
275 |
and could in certain setups cause problems with: |
276 |
1) software that runs at boot time (e.g., old versions of LILO) |
277 |
2) booting and partitioning software from other OSs |
278 |
(e.g., DOS FDISK, OS/2 FDISK) |
279 |
|
280 |
Command (m for help): p |
281 |
|
282 |
Disk /dev/hda: 80.0 GB, 80026361856 bytes |
283 |
255 heads, 63 sectors/track, 9729 cylinders |
284 |
Units = cylinders of 16065 * 512 = 8225280 bytes |
285 |
|
286 |
Device Boot Start End Blocks Id System |
287 |
/dev/hda1 1 1912 15358108+ 83 Linux |
288 |
/dev/hda2 1913 1925 104422+ 83 Linux |
289 |
/dev/hda3 1926 9729 62685630 8e Linux LVM |
290 |
|
291 |
Command (m for help): q |
292 |
|
293 |
arrakis ~ # |
294 |
arrakis ~ # fdisk /dev/hdb |
295 |
|
296 |
The number of cylinders for this disk is set to 59582. |
297 |
There is nothing wrong with that, but this is larger than 1024, |
298 |
and could in certain setups cause problems with: |
299 |
1) software that runs at boot time (e.g., old versions of LILO) |
300 |
2) booting and partitioning software from other OSs |
301 |
(e.g., DOS FDISK, OS/2 FDISK) |
302 |
|
303 |
Command (m for help): p |
304 |
|
305 |
Disk /dev/hdb: 30.7 GB, 30750031872 bytes |
306 |
16 heads, 63 sectors/track, 59582 cylinders |
307 |
Units = cylinders of 1008 * 512 = 516096 bytes |
308 |
|
309 |
Device Boot Start End Blocks Id System |
310 |
/dev/hdb1 1 203 102280+ 83 Linux |
311 |
/dev/hdb2 204 2109 960624 82 Linux swap / |
312 |
Solaris |
313 |
/dev/hdb3 2110 59579 28964880 83 Linux |
314 |
|
315 |
Command (m for help): q |
316 |
|
317 |
arrakis ~ # |
318 |
arrakis ~ # cat lvm.txt |
319 |
|
320 |
#load device module |
321 |
modprobe dm-mod |
322 |
#change the volumes that exist to active |
323 |
vgchange -ay |
324 |
#mount the logical partition |
325 |
mkdir -p /mnt/VolGroup00/LogVol00 |
326 |
mount /dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 |
327 |
arrakis ~ # |
328 |
arrakis ~ # cat /etc/fstab |
329 |
/dev/hdb1 /boot ext2 defaults 1 2 |
330 |
/dev/hdb2 none swap sw 0 0 |
331 |
/dev/hdb3 / ext3 noatime 0 1 |
332 |
none /proc proc defaults 0 0 |
333 |
none /dev/shm tmpfs defaults 0 0 |
334 |
/dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 ext3 |
335 |
users,rw 0 0 |
336 |
|
337 |
arrakis ~ # |
338 |
arrakis ~ # su thufir |
339 |
thufir@arrakis /root $ cd |
340 |
thufir@arrakis ~ $ |
341 |
thufir@arrakis ~ $ ll /mnt/VolGroup00/LogVol00/home/thufir/ |
342 |
ls: cannot open directory /mnt/VolGroup00/LogVol00/home/thufir/: |
343 |
Permission denied |
344 |
thufir@arrakis ~ $ |
345 |
thufir@arrakis ~ $ whoami |
346 |
thufir |
347 |
thufir@arrakis ~ $ |
348 |
thufir@arrakis ~ $ ll /home/thufir/Desktop/ |
349 |
total 0 |
350 |
thufir@arrakis ~ $ |
351 |
thufir@arrakis ~ $ |
352 |
thufir@arrakis ~ $ date |
353 |
Mon Oct 8 01:16:52 PDT 2007 |
354 |
thufir@arrakis ~ $ |
355 |
thufir@arrakis ~ $ |
356 |
|
357 |
arrakis ~ # |
358 |
arrakis ~ # fdisk /dev/hda |
359 |
|
360 |
The number of cylinders for this disk is set to 9729. |
361 |
There is nothing wrong with that, but this is larger than 1024, |
362 |
and could in certain setups cause problems with: |
363 |
1) software that runs at boot time (e.g., old versions of LILO) |
364 |
2) booting and partitioning software from other OSs |
365 |
(e.g., DOS FDISK, OS/2 FDISK) |
366 |
|
367 |
Command (m for help): p |
368 |
|
369 |
Disk /dev/hda: 80.0 GB, 80026361856 bytes |
370 |
255 heads, 63 sectors/track, 9729 cylinders |
371 |
Units = cylinders of 16065 * 512 = 8225280 bytes |
372 |
|
373 |
Device Boot Start End Blocks Id System |
374 |
/dev/hda1 1 1912 15358108+ 83 Linux |
375 |
/dev/hda2 1913 1925 104422+ 83 Linux |
376 |
/dev/hda3 1926 9729 62685630 8e Linux LVM |
377 |
|
378 |
Command (m for help): q |
379 |
|
380 |
arrakis ~ # |
381 |
arrakis ~ # fdisk /dev/hdb |
382 |
|
383 |
The number of cylinders for this disk is set to 59582. |
384 |
There is nothing wrong with that, but this is larger than 1024, |
385 |
and could in certain setups cause problems with: |
386 |
1) software that runs at boot time (e.g., old versions of LILO) |
387 |
2) booting and partitioning software from other OSs |
388 |
(e.g., DOS FDISK, OS/2 FDISK) |
389 |
|
390 |
Command (m for help): p |
391 |
|
392 |
Disk /dev/hdb: 30.7 GB, 30750031872 bytes |
393 |
16 heads, 63 sectors/track, 59582 cylinders |
394 |
Units = cylinders of 1008 * 512 = 516096 bytes |
395 |
|
396 |
Device Boot Start End Blocks Id System |
397 |
/dev/hdb1 1 203 102280+ 83 Linux |
398 |
/dev/hdb2 204 2109 960624 82 Linux swap / |
399 |
Solaris |
400 |
/dev/hdb3 2110 59579 28964880 83 Linux |
401 |
|
402 |
Command (m for help): q |
403 |
|
404 |
arrakis ~ # |
405 |
arrakis ~ # cat lvm.txt |
406 |
|
407 |
#load device module |
408 |
modprobe dm-mod |
409 |
#change the volumes that exist to active |
410 |
vgchange -ay |
411 |
#mount the logical partition |
412 |
mkdir -p /mnt/VolGroup00/LogVol00 |
413 |
mount /dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 |
414 |
arrakis ~ # |
415 |
arrakis ~ # cat /etc/fstab |
416 |
/dev/hdb1 /boot ext2 defaults 1 2 |
417 |
/dev/hdb2 none swap sw 0 0 |
418 |
/dev/hdb3 / ext3 noatime 0 1 |
419 |
none /proc proc defaults 0 0 |
420 |
none /dev/shm tmpfs defaults 0 0 |
421 |
/dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 ext3 |
422 |
users,rw 0 0 |
423 |
|
424 |
arrakis ~ # |
425 |
arrakis ~ # su thufir |
426 |
thufir@arrakis /root $ cd |
427 |
thufir@arrakis ~ $ |
428 |
thufir@arrakis ~ $ ll /mnt/VolGroup00/LogVol00/home/thufir/ |
429 |
ls: cannot open directory /mnt/VolGroup00/LogVol00/home/thufir/: |
430 |
Permission denied |
431 |
thufir@arrakis ~ $ |
432 |
thufir@arrakis ~ $ whoami |
433 |
thufir |
434 |
thufir@arrakis ~ $ |
435 |
thufir@arrakis ~ $ ll /home/thufir/Desktop/ |
436 |
total 0 |
437 |
thufir@arrakis ~ $ |
438 |
thufir@arrakis ~ $ |
439 |
thufir@arrakis ~ $ date |
440 |
Mon Oct 8 01:16:52 PDT 2007 |
441 |
thufir@arrakis ~ $ |
442 |
thufir@arrakis ~ $ |
443 |
|
444 |
arrakis ~ # |
445 |
arrakis ~ # fdisk /dev/hda |
446 |
|
447 |
The number of cylinders for this disk is set to 9729. |
448 |
There is nothing wrong with that, but this is larger than 1024, |
449 |
and could in certain setups cause problems with: |
450 |
1) software that runs at boot time (e.g., old versions of LILO) |
451 |
2) booting and partitioning software from other OSs |
452 |
(e.g., DOS FDISK, OS/2 FDISK) |
453 |
|
454 |
Command (m for help): p |
455 |
|
456 |
Disk /dev/hda: 80.0 GB, 80026361856 bytes |
457 |
255 heads, 63 sectors/track, 9729 cylinders |
458 |
Units = cylinders of 16065 * 512 = 8225280 bytes |
459 |
|
460 |
Device Boot Start End Blocks Id System |
461 |
/dev/hda1 1 1912 15358108+ 83 Linux |
462 |
/dev/hda2 1913 1925 104422+ 83 Linux |
463 |
/dev/hda3 1926 9729 62685630 8e Linux LVM |
464 |
|
465 |
Command (m for help): q |
466 |
|
467 |
arrakis ~ # |
468 |
arrakis ~ # fdisk /dev/hdb |
469 |
|
470 |
The number of cylinders for this disk is set to 59582. |
471 |
There is nothing wrong with that, but this is larger than 1024, |
472 |
and could in certain setups cause problems with: |
473 |
1) software that runs at boot time (e.g., old versions of LILO) |
474 |
2) booting and partitioning software from other OSs |
475 |
(e.g., DOS FDISK, OS/2 FDISK) |
476 |
|
477 |
Command (m for help): p |
478 |
|
479 |
Disk /dev/hdb: 30.7 GB, 30750031872 bytes |
480 |
16 heads, 63 sectors/track, 59582 cylinders |
481 |
Units = cylinders of 1008 * 512 = 516096 bytes |
482 |
|
483 |
Device Boot Start End Blocks Id System |
484 |
/dev/hdb1 1 203 102280+ 83 Linux |
485 |
/dev/hdb2 204 2109 960624 82 Linux swap / |
486 |
Solaris |
487 |
/dev/hdb3 2110 59579 28964880 83 Linux |
488 |
|
489 |
Command (m for help): q |
490 |
|
491 |
arrakis ~ # |
492 |
arrakis ~ # cat lvm.txt |
493 |
|
494 |
#load device module |
495 |
modprobe dm-mod |
496 |
#change the volumes that exist to active |
497 |
vgchange -ay |
498 |
#mount the logical partition |
499 |
mkdir -p /mnt/VolGroup00/LogVol00 |
500 |
mount /dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 |
501 |
arrakis ~ # |
502 |
arrakis ~ # cat /etc/fstab |
503 |
/dev/hdb1 /boot ext2 defaults 1 2 |
504 |
/dev/hdb2 none swap sw 0 0 |
505 |
/dev/hdb3 / ext3 noatime 0 1 |
506 |
none /proc proc defaults 0 0 |
507 |
none /dev/shm tmpfs defaults 0 0 |
508 |
/dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 ext3 |
509 |
users,rw 0 0 |
510 |
|
511 |
arrakis ~ # |
512 |
arrakis ~ # su thufir |
513 |
thufir@arrakis /root $ cd |
514 |
thufir@arrakis ~ $ |
515 |
thufir@arrakis ~ $ ll /mnt/VolGroup00/LogVol00/home/thufir/ |
516 |
ls: cannot open directory /mnt/VolGroup00/LogVol00/home/thufir/: |
517 |
Permission denied |
518 |
thufir@arrakis ~ $ |
519 |
thufir@arrakis ~ $ whoami |
520 |
thufir |
521 |
thufir@arrakis ~ $ |
522 |
thufir@arrakis ~ $ ll /home/thufir/Desktop/ |
523 |
total 0 |
524 |
thufir@arrakis ~ $ |
525 |
thufir@arrakis ~ $ |
526 |
thufir@arrakis ~ $ date |
527 |
Mon Oct 8 01:16:52 PDT 2007 |
528 |
thufir@arrakis ~ $ |
529 |
thufir@arrakis ~ $ |
530 |
|
531 |
arrakis ~ # |
532 |
arrakis ~ # fdisk /dev/hda |
533 |
|
534 |
The number of cylinders for this disk is set to 9729. |
535 |
There is nothing wrong with that, but this is larger than 1024, |
536 |
and could in certain setups cause problems with: |
537 |
1) software that runs at boot time (e.g., old versions of LILO) |
538 |
2) booting and partitioning software from other OSs |
539 |
(e.g., DOS FDISK, OS/2 FDISK) |
540 |
|
541 |
Command (m for help): p |
542 |
|
543 |
Disk /dev/hda: 80.0 GB, 80026361856 bytes |
544 |
255 heads, 63 sectors/track, 9729 cylinders |
545 |
Units = cylinders of 16065 * 512 = 8225280 bytes |
546 |
|
547 |
Device Boot Start End Blocks Id System |
548 |
/dev/hda1 1 1912 15358108+ 83 Linux |
549 |
/dev/hda2 1913 1925 104422+ 83 Linux |
550 |
/dev/hda3 1926 9729 62685630 8e Linux LVM |
551 |
|
552 |
Command (m for help): q |
553 |
|
554 |
arrakis ~ # |
555 |
arrakis ~ # fdisk /dev/hdb |
556 |
|
557 |
The number of cylinders for this disk is set to 59582. |
558 |
There is nothing wrong with that, but this is larger than 1024, |
559 |
and could in certain setups cause problems with: |
560 |
1) software that runs at boot time (e.g., old versions of LILO) |
561 |
2) booting and partitioning software from other OSs |
562 |
(e.g., DOS FDISK, OS/2 FDISK) |
563 |
|
564 |
Command (m for help): p |
565 |
|
566 |
Disk /dev/hdb: 30.7 GB, 30750031872 bytes |
567 |
16 heads, 63 sectors/track, 59582 cylinders |
568 |
Units = cylinders of 1008 * 512 = 516096 bytes |
569 |
|
570 |
Device Boot Start End Blocks Id System |
571 |
/dev/hdb1 1 203 102280+ 83 Linux |
572 |
/dev/hdb2 204 2109 960624 82 Linux swap / |
573 |
Solaris |
574 |
/dev/hdb3 2110 59579 28964880 83 Linux |
575 |
|
576 |
Command (m for help): q |
577 |
|
578 |
arrakis ~ # |
579 |
arrakis ~ # cat lvm.txt |
580 |
|
581 |
#load device module |
582 |
modprobe dm-mod |
583 |
#change the volumes that exist to active |
584 |
vgchange -ay |
585 |
#mount the logical partition |
586 |
mkdir -p /mnt/VolGroup00/LogVol00 |
587 |
mount /dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 |
588 |
arrakis ~ # |
589 |
arrakis ~ # cat /etc/fstab |
590 |
/dev/hdb1 /boot ext2 defaults 1 2 |
591 |
/dev/hdb2 none swap sw 0 0 |
592 |
/dev/hdb3 / ext3 noatime 0 1 |
593 |
none /proc proc defaults 0 0 |
594 |
none /dev/shm tmpfs defaults 0 0 |
595 |
/dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 ext3 |
596 |
users,rw 0 0 |
597 |
|
598 |
arrakis ~ # |
599 |
arrakis ~ # su thufir |
600 |
thufir@arrakis /root $ cd |
601 |
thufir@arrakis ~ $ |
602 |
thufir@arrakis ~ $ ll /mnt/VolGroup00/LogVol00/home/thufir/ |
603 |
ls: cannot open directory /mnt/VolGroup00/LogVol00/home/thufir/: |
604 |
Permission denied |
605 |
thufir@arrakis ~ $ |
606 |
thufir@arrakis ~ $ whoami |
607 |
thufir |
608 |
thufir@arrakis ~ $ |
609 |
thufir@arrakis ~ $ ll /home/thufir/Desktop/ |
610 |
total 0 |
611 |
thufir@arrakis ~ $ |
612 |
thufir@arrakis ~ $ |
613 |
thufir@arrakis ~ $ date |
614 |
Mon Oct 8 01:16:52 PDT 2007 |
615 |
thufir@arrakis ~ $ |
616 |
thufir@arrakis ~ $ |
617 |
|
618 |
arrakis ~ # |
619 |
arrakis ~ # fdisk /dev/hda |
620 |
|
621 |
The number of cylinders for this disk is set to 9729. |
622 |
There is nothing wrong with that, but this is larger than 1024, |
623 |
and could in certain setups cause problems with: |
624 |
1) software that runs at boot time (e.g., old versions of LILO) |
625 |
2) booting and partitioning software from other OSs |
626 |
(e.g., DOS FDISK, OS/2 FDISK) |
627 |
|
628 |
Command (m for help): p |
629 |
|
630 |
Disk /dev/hda: 80.0 GB, 80026361856 bytes |
631 |
255 heads, 63 sectors/track, 9729 cylinders |
632 |
Units = cylinders of 16065 * 512 = 8225280 bytes |
633 |
|
634 |
Device Boot Start End Blocks Id System |
635 |
/dev/hda1 1 1912 15358108+ 83 Linux |
636 |
/dev/hda2 1913 1925 104422+ 83 Linux |
637 |
/dev/hda3 1926 9729 62685630 8e Linux LVM |
638 |
|
639 |
Command (m for help): q |
640 |
|
641 |
arrakis ~ # |
642 |
arrakis ~ # fdisk /dev/hdb |
643 |
|
644 |
The number of cylinders for this disk is set to 59582. |
645 |
There is nothing wrong with that, but this is larger than 1024, |
646 |
and could in certain setups cause problems with: |
647 |
1) software that runs at boot time (e.g., old versions of LILO) |
648 |
2) booting and partitioning software from other OSs |
649 |
(e.g., DOS FDISK, OS/2 FDISK) |
650 |
|
651 |
Command (m for help): p |
652 |
|
653 |
Disk /dev/hdb: 30.7 GB, 30750031872 bytes |
654 |
16 heads, 63 sectors/track, 59582 cylinders |
655 |
Units = cylinders of 1008 * 512 = 516096 bytes |
656 |
|
657 |
Device Boot Start End Blocks Id System |
658 |
/dev/hdb1 1 203 102280+ 83 Linux |
659 |
/dev/hdb2 204 2109 960624 82 Linux swap / |
660 |
Solaris |
661 |
/dev/hdb3 2110 59579 28964880 83 Linux |
662 |
|
663 |
Command (m for help): q |
664 |
|
665 |
arrakis ~ # |
666 |
arrakis ~ # cat lvm.txt |
667 |
|
668 |
#load device module |
669 |
modprobe dm-mod |
670 |
#change the volumes that exist to active |
671 |
vgchange -ay |
672 |
#mount the logical partition |
673 |
mkdir -p /mnt/VolGroup00/LogVol00 |
674 |
mount /dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 |
675 |
arrakis ~ # |
676 |
arrakis ~ # cat /etc/fstab |
677 |
/dev/hdb1 /boot ext2 defaults 1 2 |
678 |
/dev/hdb2 none swap sw 0 0 |
679 |
/dev/hdb3 / ext3 noatime 0 1 |
680 |
none /proc proc defaults 0 0 |
681 |
none /dev/shm tmpfs defaults 0 0 |
682 |
/dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 ext3 |
683 |
users,rw 0 0 |
684 |
|
685 |
arrakis ~ # |
686 |
arrakis ~ # su thufir |
687 |
thufir@arrakis /root $ cd |
688 |
thufir@arrakis ~ $ |
689 |
thufir@arrakis ~ $ ll /mnt/VolGroup00/LogVol00/home/thufir/ |
690 |
ls: cannot open directory /mnt/VolGroup00/LogVol00/home/thufir/: |
691 |
Permission denied |
692 |
thufir@arrakis ~ $ |
693 |
thufir@arrakis ~ $ whoami |
694 |
thufir |
695 |
thufir@arrakis ~ $ |
696 |
thufir@arrakis ~ $ ll /home/thufir/Desktop/ |
697 |
total 0 |
698 |
thufir@arrakis ~ $ |
699 |
thufir@arrakis ~ $ |
700 |
thufir@arrakis ~ $ date |
701 |
Mon Oct 8 01:16:52 PDT 2007 |
702 |
thufir@arrakis ~ $ |
703 |
thufir@arrakis ~ $ |
704 |
|
705 |
arrakis ~ # |
706 |
arrakis ~ # fdisk /dev/hda |
707 |
|
708 |
The number of cylinders for this disk is set to 9729. |
709 |
There is nothing wrong with that, but this is larger than 1024, |
710 |
and could in certain setups cause problems with: |
711 |
1) software that runs at boot time (e.g., old versions of LILO) |
712 |
2) booting and partitioning software from other OSs |
713 |
(e.g., DOS FDISK, OS/2 FDISK) |
714 |
|
715 |
Command (m for help): p |
716 |
|
717 |
Disk /dev/hda: 80.0 GB, 80026361856 bytes |
718 |
255 heads, 63 sectors/track, 9729 cylinders |
719 |
Units = cylinders of 16065 * 512 = 8225280 bytes |
720 |
|
721 |
Device Boot Start End Blocks Id System |
722 |
/dev/hda1 1 1912 15358108+ 83 Linux |
723 |
/dev/hda2 1913 1925 104422+ 83 Linux |
724 |
/dev/hda3 1926 9729 62685630 8e Linux LVM |
725 |
|
726 |
Command (m for help): q |
727 |
|
728 |
arrakis ~ # |
729 |
arrakis ~ # fdisk /dev/hdb |
730 |
|
731 |
The number of cylinders for this disk is set to 59582. |
732 |
There is nothing wrong with that, but this is larger than 1024, |
733 |
and could in certain setups cause problems with: |
734 |
1) software that runs at boot time (e.g., old versions of LILO) |
735 |
2) booting and partitioning software from other OSs |
736 |
(e.g., DOS FDISK, OS/2 FDISK) |
737 |
|
738 |
Command (m for help): p |
739 |
|
740 |
Disk /dev/hdb: 30.7 GB, 30750031872 bytes |
741 |
16 heads, 63 sectors/track, 59582 cylinders |
742 |
Units = cylinders of 1008 * 512 = 516096 bytes |
743 |
|
744 |
Device Boot Start End Blocks Id System |
745 |
/dev/hdb1 1 203 102280+ 83 Linux |
746 |
/dev/hdb2 204 2109 960624 82 Linux swap / |
747 |
Solaris |
748 |
/dev/hdb3 2110 59579 28964880 83 Linux |
749 |
|
750 |
Command (m for help): q |
751 |
|
752 |
arrakis ~ # |
753 |
arrakis ~ # cat lvm.txt |
754 |
|
755 |
#load device module |
756 |
modprobe dm-mod |
757 |
#change the volumes that exist to active |
758 |
vgchange -ay |
759 |
#mount the logical partition |
760 |
mkdir -p /mnt/VolGroup00/LogVol00 |
761 |
mount /dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 |
762 |
arrakis ~ # |
763 |
arrakis ~ # cat /etc/fstab |
764 |
/dev/hdb1 /boot ext2 defaults 1 2 |
765 |
/dev/hdb2 none swap sw 0 0 |
766 |
/dev/hdb3 / ext3 noatime 0 1 |
767 |
none /proc proc defaults 0 0 |
768 |
none /dev/shm tmpfs defaults 0 0 |
769 |
/dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 ext3 |
770 |
users,rw 0 0 |
771 |
|
772 |
arrakis ~ # |
773 |
arrakis ~ # su thufir |
774 |
thufir@arrakis /root $ cd |
775 |
thufir@arrakis ~ $ |
776 |
thufir@arrakis ~ $ ll /mnt/VolGroup00/LogVol00/home/thufir/ |
777 |
ls: cannot open directory /mnt/VolGroup00/LogVol00/home/thufir/: |
778 |
Permission denied |
779 |
thufir@arrakis ~ $ |
780 |
thufir@arrakis ~ $ whoami |
781 |
thufir |
782 |
thufir@arrakis ~ $ |
783 |
thufir@arrakis ~ $ ll /home/thufir/Desktop/ |
784 |
total 0 |
785 |
thufir@arrakis ~ $ |
786 |
thufir@arrakis ~ $ |
787 |
thufir@arrakis ~ $ date |
788 |
Mon Oct 8 01:16:52 PDT 2007 |
789 |
thufir@arrakis ~ $ |
790 |
thufir@arrakis ~ $ |
791 |
|
792 |
arrakis ~ # |
793 |
arrakis ~ # fdisk /dev/hda |
794 |
|
795 |
The number of cylinders for this disk is set to 9729. |
796 |
There is nothing wrong with that, but this is larger than 1024, |
797 |
and could in certain setups cause problems with: |
798 |
1) software that runs at boot time (e.g., old versions of LILO) |
799 |
2) booting and partitioning software from other OSs |
800 |
(e.g., DOS FDISK, OS/2 FDISK) |
801 |
|
802 |
Command (m for help): p |
803 |
|
804 |
Disk /dev/hda: 80.0 GB, 80026361856 bytes |
805 |
255 heads, 63 sectors/track, 9729 cylinders |
806 |
Units = cylinders of 16065 * 512 = 8225280 bytes |
807 |
|
808 |
Device Boot Start End Blocks Id System |
809 |
/dev/hda1 1 1912 15358108+ 83 Linux |
810 |
/dev/hda2 1913 1925 104422+ 83 Linux |
811 |
/dev/hda3 1926 9729 62685630 8e Linux LVM |
812 |
|
813 |
Command (m for help): q |
814 |
|
815 |
arrakis ~ # |
816 |
arrakis ~ # fdisk /dev/hdb |
817 |
|
818 |
The number of cylinders for this disk is set to 59582. |
819 |
There is nothing wrong with that, but this is larger than 1024, |
820 |
and could in certain setups cause problems with: |
821 |
1) software that runs at boot time (e.g., old versions of LILO) |
822 |
2) booting and partitioning software from other OSs |
823 |
(e.g., DOS FDISK, OS/2 FDISK) |
824 |
|
825 |
Command (m for help): p |
826 |
|
827 |
Disk /dev/hdb: 30.7 GB, 30750031872 bytes |
828 |
16 heads, 63 sectors/track, 59582 cylinders |
829 |
Units = cylinders of 1008 * 512 = 516096 bytes |
830 |
|
831 |
Device Boot Start End Blocks Id System |
832 |
/dev/hdb1 1 203 102280+ 83 Linux |
833 |
/dev/hdb2 204 2109 960624 82 Linux swap / |
834 |
Solaris |
835 |
/dev/hdb3 2110 59579 28964880 83 Linux |
836 |
|
837 |
Command (m for help): q |
838 |
|
839 |
arrakis ~ # |
840 |
arrakis ~ # cat lvm.txt |
841 |
|
842 |
#load device module |
843 |
modprobe dm-mod |
844 |
#change the volumes that exist to active |
845 |
vgchange -ay |
846 |
#mount the logical partition |
847 |
mkdir -p /mnt/VolGroup00/LogVol00 |
848 |
mount /dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 |
849 |
arrakis ~ # |
850 |
arrakis ~ # cat /etc/fstab |
851 |
/dev/hdb1 /boot ext2 defaults 1 2 |
852 |
/dev/hdb2 none swap sw 0 0 |
853 |
/dev/hdb3 / ext3 noatime 0 1 |
854 |
none /proc proc defaults 0 0 |
855 |
none /dev/shm tmpfs defaults 0 0 |
856 |
/dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 ext3 |
857 |
users,rw 0 0 |
858 |
|
859 |
arrakis ~ # |
860 |
arrakis ~ # su thufir |
861 |
thufir@arrakis /root $ cd |
862 |
thufir@arrakis ~ $ |
863 |
thufir@arrakis ~ $ ll /mnt/VolGroup00/LogVol00/home/thufir/ |
864 |
ls: cannot open directory /mnt/VolGroup00/LogVol00/home/thufir/: |
865 |
Permission denied |
866 |
thufir@arrakis ~ $ |
867 |
thufir@arrakis ~ $ whoami |
868 |
thufir |
869 |
thufir@arrakis ~ $ |
870 |
thufir@arrakis ~ $ ll /home/thufir/Desktop/ |
871 |
total 0 |
872 |
thufir@arrakis ~ $ |
873 |
thufir@arrakis ~ $ |
874 |
thufir@arrakis ~ $ date |
875 |
Mon Oct 8 01:16:52 PDT 2007 |
876 |
thufir@arrakis ~ $ |
877 |
thufir@arrakis ~ $ |
878 |
|
879 |
arrakis ~ # |
880 |
arrakis ~ # fdisk /dev/hda |
881 |
|
882 |
The number of cylinders for this disk is set to 9729. |
883 |
There is nothing wrong with that, but this is larger than 1024, |
884 |
and could in certain setups cause problems with: |
885 |
1) software that runs at boot time (e.g., old versions of LILO) |
886 |
2) booting and partitioning software from other OSs |
887 |
(e.g., DOS FDISK, OS/2 FDISK) |
888 |
|
889 |
Command (m for help): p |
890 |
|
891 |
Disk /dev/hda: 80.0 GB, 80026361856 bytes |
892 |
255 heads, 63 sectors/track, 9729 cylinders |
893 |
Units = cylinders of 16065 * 512 = 8225280 bytes |
894 |
|
895 |
Device Boot Start End Blocks Id System |
896 |
/dev/hda1 1 1912 15358108+ 83 Linux |
897 |
/dev/hda2 1913 1925 104422+ 83 Linux |
898 |
/dev/hda3 1926 9729 62685630 8e Linux LVM |
899 |
|
900 |
Command (m for help): q |
901 |
|
902 |
arrakis ~ # |
903 |
arrakis ~ # fdisk /dev/hdb |
904 |
|
905 |
The number of cylinders for this disk is set to 59582. |
906 |
There is nothing wrong with that, but this is larger than 1024, |
907 |
and could in certain setups cause problems with: |
908 |
1) software that runs at boot time (e.g., old versions of LILO) |
909 |
2) booting and partitioning software from other OSs |
910 |
(e.g., DOS FDISK, OS/2 FDISK) |
911 |
|
912 |
Command (m for help): p |
913 |
|
914 |
Disk /dev/hdb: 30.7 GB, 30750031872 bytes |
915 |
16 heads, 63 sectors/track, 59582 cylinders |
916 |
Units = cylinders of 1008 * 512 = 516096 bytes |
917 |
|
918 |
Device Boot Start End Blocks Id System |
919 |
/dev/hdb1 1 203 102280+ 83 Linux |
920 |
/dev/hdb2 204 2109 960624 82 Linux swap / |
921 |
Solaris |
922 |
/dev/hdb3 2110 59579 28964880 83 Linux |
923 |
|
924 |
Command (m for help): q |
925 |
|
926 |
arrakis ~ # |
927 |
arrakis ~ # cat lvm.txt |
928 |
|
929 |
#load device module |
930 |
modprobe dm-mod |
931 |
#change the volumes that exist to active |
932 |
vgchange -ay |
933 |
#mount the logical partition |
934 |
mkdir -p /mnt/VolGroup00/LogVol00 |
935 |
mount /dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 |
936 |
arrakis ~ # |
937 |
arrakis ~ # cat /etc/fstab |
938 |
/dev/hdb1 /boot ext2 defaults 1 2 |
939 |
/dev/hdb2 none swap sw 0 0 |
940 |
/dev/hdb3 / ext3 noatime 0 1 |
941 |
none /proc proc defaults 0 0 |
942 |
none /dev/shm tmpfs defaults 0 0 |
943 |
/dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 ext3 |
944 |
users,rw 0 0 |
945 |
|
946 |
arrakis ~ # |
947 |
arrakis ~ # su thufir |
948 |
thufir@arrakis /root $ cd |
949 |
thufir@arrakis ~ $ |
950 |
thufir@arrakis ~ $ ll /mnt/VolGroup00/LogVol00/home/thufir/ |
951 |
ls: cannot open directory /mnt/VolGroup00/LogVol00/home/thufir/: |
952 |
Permission denied |
953 |
thufir@arrakis ~ $ |
954 |
thufir@arrakis ~ $ whoami |
955 |
thufir |
956 |
thufir@arrakis ~ $ |
957 |
thufir@arrakis ~ $ ll /home/thufir/Desktop/ |
958 |
total 0 |
959 |
thufir@arrakis ~ $ |
960 |
thufir@arrakis ~ $ |
961 |
thufir@arrakis ~ $ date |
962 |
Mon Oct 8 01:16:52 PDT 2007 |
963 |
thufir@arrakis ~ $ |
964 |
thufir@arrakis ~ $ |
965 |
|
966 |
arrakis ~ # |
967 |
arrakis ~ # fdisk /dev/hda |
968 |
|
969 |
The number of cylinders for this disk is set to 9729. |
970 |
There is nothing wrong with that, but this is larger than 1024, |
971 |
and could in certain setups cause problems with: |
972 |
1) software that runs at boot time (e.g., old versions of LILO) |
973 |
2) booting and partitioning software from other OSs |
974 |
(e.g., DOS FDISK, OS/2 FDISK) |
975 |
|
976 |
Command (m for help): p |
977 |
|
978 |
Disk /dev/hda: 80.0 GB, 80026361856 bytes |
979 |
255 heads, 63 sectors/track, 9729 cylinders |
980 |
Units = cylinders of 16065 * 512 = 8225280 bytes |
981 |
|
982 |
Device Boot Start End Blocks Id System |
983 |
/dev/hda1 1 1912 15358108+ 83 Linux |
984 |
/dev/hda2 1913 1925 104422+ 83 Linux |
985 |
/dev/hda3 1926 9729 62685630 8e Linux LVM |
986 |
|
987 |
Command (m for help): q |
988 |
|
989 |
arrakis ~ # |
990 |
arrakis ~ # fdisk /dev/hdb |
991 |
|
992 |
The number of cylinders for this disk is set to 59582. |
993 |
There is nothing wrong with that, but this is larger than 1024, |
994 |
and could in certain setups cause problems with: |
995 |
1) software that runs at boot time (e.g., old versions of LILO) |
996 |
2) booting and partitioning software from other OSs |
997 |
(e.g., DOS FDISK, OS/2 FDISK) |
998 |
|
999 |
Command (m for help): p |
1000 |
|
1001 |
Disk /dev/hdb: 30.7 GB, 30750031872 bytes |
1002 |
16 heads, 63 sectors/track, 59582 cylinders |
1003 |
Units = cylinders of 1008 * 512 = 516096 bytes |
1004 |
|
1005 |
Device Boot Start End Blocks Id System |
1006 |
/dev/hdb1 1 203 102280+ 83 Linux |
1007 |
/dev/hdb2 204 2109 960624 82 Linux swap / |
1008 |
Solaris |
1009 |
/dev/hdb3 2110 59579 28964880 83 Linux |
1010 |
|
1011 |
Command (m for help): q |
1012 |
|
1013 |
arrakis ~ # |
1014 |
arrakis ~ # cat lvm.txt |
1015 |
|
1016 |
#load device module |
1017 |
modprobe dm-mod |
1018 |
#change the volumes that exist to active |
1019 |
vgchange -ay |
1020 |
#mount the logical partition |
1021 |
mkdir -p /mnt/VolGroup00/LogVol00 |
1022 |
mount /dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 |
1023 |
arrakis ~ # |
1024 |
arrakis ~ # cat /etc/fstab |
1025 |
/dev/hdb1 /boot ext2 defaults 1 2 |
1026 |
/dev/hdb2 none swap sw 0 0 |
1027 |
/dev/hdb3 / ext3 noatime 0 1 |
1028 |
none /proc proc defaults 0 0 |
1029 |
none /dev/shm tmpfs defaults 0 0 |
1030 |
/dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 ext3 |
1031 |
users,rw 0 0 |
1032 |
|
1033 |
arrakis ~ # |
1034 |
arrakis ~ # su thufir |
1035 |
thufir@arrakis /root $ cd |
1036 |
thufir@arrakis ~ $ |
1037 |
thufir@arrakis ~ $ ll /mnt/VolGroup00/LogVol00/home/thufir/ |
1038 |
ls: cannot open directory /mnt/VolGroup00/LogVol00/home/thufir/: |
1039 |
Permission denied |
1040 |
thufir@arrakis ~ $ |
1041 |
thufir@arrakis ~ $ whoami |
1042 |
thufir |
1043 |
thufir@arrakis ~ $ |
1044 |
thufir@arrakis ~ $ ll /home/thufir/Desktop/ |
1045 |
total 0 |
1046 |
thufir@arrakis ~ $ |
1047 |
thufir@arrakis ~ $ |
1048 |
thufir@arrakis ~ $ date |
1049 |
Mon Oct 8 01:16:52 PDT 2007 |
1050 |
thufir@arrakis ~ $ |
1051 |
thufir@arrakis ~ $ |
1052 |
|
1053 |
arrakis ~ # |
1054 |
arrakis ~ # fdisk /dev/hda |
1055 |
|
1056 |
The number of cylinders for this disk is set to 9729. |
1057 |
There is nothing wrong with that, but this is larger than 1024, |
1058 |
and could in certain setups cause problems with: |
1059 |
1) software that runs at boot time (e.g., old versions of LILO) |
1060 |
2) booting and partitioning software from other OSs |
1061 |
(e.g., DOS FDISK, OS/2 FDISK) |
1062 |
|
1063 |
Command (m for help): p |
1064 |
|
1065 |
Disk /dev/hda: 80.0 GB, 80026361856 bytes |
1066 |
255 heads, 63 sectors/track, 9729 cylinders |
1067 |
Units = cylinders of 16065 * 512 = 8225280 bytes |
1068 |
|
1069 |
Device Boot Start End Blocks Id System |
1070 |
/dev/hda1 1 1912 15358108+ 83 Linux |
1071 |
/dev/hda2 1913 1925 104422+ 83 Linux |
1072 |
/dev/hda3 1926 9729 62685630 8e Linux LVM |
1073 |
|
1074 |
Command (m for help): q |
1075 |
|
1076 |
arrakis ~ # |
1077 |
arrakis ~ # fdisk /dev/hdb |
1078 |
|
1079 |
The number of cylinders for this disk is set to 59582. |
1080 |
There is nothing wrong with that, but this is larger than 1024, |
1081 |
and could in certain setups cause problems with: |
1082 |
1) software that runs at boot time (e.g., old versions of LILO) |
1083 |
2) booting and partitioning software from other OSs |
1084 |
(e.g., DOS FDISK, OS/2 FDISK) |
1085 |
|
1086 |
Command (m for help): p |
1087 |
|
1088 |
Disk /dev/hdb: 30.7 GB, 30750031872 bytes |
1089 |
16 heads, 63 sectors/track, 59582 cylinders |
1090 |
Units = cylinders of 1008 * 512 = 516096 bytes |
1091 |
|
1092 |
Device Boot Start End Blocks Id System |
1093 |
/dev/hdb1 1 203 102280+ 83 Linux |
1094 |
/dev/hdb2 204 2109 960624 82 Linux swap / |
1095 |
Solaris |
1096 |
/dev/hdb3 2110 59579 28964880 83 Linux |
1097 |
|
1098 |
Command (m for help): q |
1099 |
|
1100 |
arrakis ~ # |
1101 |
arrakis ~ # cat lvm.txt |
1102 |
|
1103 |
#load device module |
1104 |
modprobe dm-mod |
1105 |
#change the volumes that exist to active |
1106 |
vgchange -ay |
1107 |
#mount the logical partition |
1108 |
mkdir -p /mnt/VolGroup00/LogVol00 |
1109 |
mount /dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 |
1110 |
arrakis ~ # |
1111 |
arrakis ~ # cat /etc/fstab |
1112 |
/dev/hdb1 /boot ext2 defaults 1 2 |
1113 |
/dev/hdb2 none swap sw 0 0 |
1114 |
/dev/hdb3 / ext3 noatime 0 1 |
1115 |
none /proc proc defaults 0 0 |
1116 |
none /dev/shm tmpfs defaults 0 0 |
1117 |
/dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 ext3 |
1118 |
users,rw 0 0 |
1119 |
|
1120 |
arrakis ~ # |
1121 |
arrakis ~ # su thufir |
1122 |
thufir@arrakis /root $ cd |
1123 |
thufir@arrakis ~ $ |
1124 |
thufir@arrakis ~ $ ll /mnt/VolGroup00/LogVol00/home/thufir/ |
1125 |
ls: cannot open directory /mnt/VolGroup00/LogVol00/home/thufir/: |
1126 |
Permission denied |
1127 |
thufir@arrakis ~ $ |
1128 |
thufir@arrakis ~ $ whoami |
1129 |
thufir |
1130 |
thufir@arrakis ~ $ |
1131 |
thufir@arrakis ~ $ ll /home/thufir/Desktop/ |
1132 |
total 0 |
1133 |
thufir@arrakis ~ $ |
1134 |
thufir@arrakis ~ $ |
1135 |
thufir@arrakis ~ $ date |
1136 |
Mon Oct 8 01:16:52 PDT 2007 |
1137 |
thufir@arrakis ~ $ |
1138 |
thufir@arrakis ~ $ |
1139 |
|
1140 |
arrakis ~ # |
1141 |
arrakis ~ # fdisk /dev/hda |
1142 |
|
1143 |
The number of cylinders for this disk is set to 9729. |
1144 |
There is nothing wrong with that, but this is larger than 1024, |
1145 |
and could in certain setups cause problems with: |
1146 |
1) software that runs at boot time (e.g., old versions of LILO) |
1147 |
2) booting and partitioning software from other OSs |
1148 |
(e.g., DOS FDISK, OS/2 FDISK) |
1149 |
|
1150 |
Command (m for help): p |
1151 |
|
1152 |
Disk /dev/hda: 80.0 GB, 80026361856 bytes |
1153 |
255 heads, 63 sectors/track, 9729 cylinders |
1154 |
Units = cylinders of 16065 * 512 = 8225280 bytes |
1155 |
|
1156 |
Device Boot Start End Blocks Id System |
1157 |
/dev/hda1 1 1912 15358108+ 83 Linux |
1158 |
/dev/hda2 1913 1925 104422+ 83 Linux |
1159 |
/dev/hda3 1926 9729 62685630 8e Linux LVM |
1160 |
|
1161 |
Command (m for help): q |
1162 |
|
1163 |
arrakis ~ # |
1164 |
arrakis ~ # fdisk /dev/hdb |
1165 |
|
1166 |
The number of cylinders for this disk is set to 59582. |
1167 |
There is nothing wrong with that, but this is larger than 1024, |
1168 |
and could in certain setups cause problems with: |
1169 |
1) software that runs at boot time (e.g., old versions of LILO) |
1170 |
2) booting and partitioning software from other OSs |
1171 |
(e.g., DOS FDISK, OS/2 FDISK) |
1172 |
|
1173 |
Command (m for help): p |
1174 |
|
1175 |
Disk /dev/hdb: 30.7 GB, 30750031872 bytes |
1176 |
16 heads, 63 sectors/track, 59582 cylinders |
1177 |
Units = cylinders of 1008 * 512 = 516096 bytes |
1178 |
|
1179 |
Device Boot Start End Blocks Id System |
1180 |
/dev/hdb1 1 203 102280+ 83 Linux |
1181 |
/dev/hdb2 204 2109 960624 82 Linux swap / |
1182 |
Solaris |
1183 |
/dev/hdb3 2110 59579 28964880 83 Linux |
1184 |
|
1185 |
Command (m for help): q |
1186 |
|
1187 |
arrakis ~ # |
1188 |
arrakis ~ # cat lvm.txt |
1189 |
|
1190 |
#load device module |
1191 |
modprobe dm-mod |
1192 |
#change the volumes that exist to active |
1193 |
vgchange -ay |
1194 |
#mount the logical partition |
1195 |
mkdir -p /mnt/VolGroup00/LogVol00 |
1196 |
mount /dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 |
1197 |
arrakis ~ # |
1198 |
arrakis ~ # cat /etc/fstab |
1199 |
/dev/hdb1 /boot ext2 defaults 1 2 |
1200 |
/dev/hdb2 none swap sw 0 0 |
1201 |
/dev/hdb3 / ext3 noatime 0 1 |
1202 |
none /proc proc defaults 0 0 |
1203 |
none /dev/shm tmpfs defaults 0 0 |
1204 |
/dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 ext3 |
1205 |
users,rw 0 0 |
1206 |
|
1207 |
arrakis ~ # |
1208 |
arrakis ~ # su thufir |
1209 |
thufir@arrakis /root $ cd |
1210 |
thufir@arrakis ~ $ |
1211 |
thufir@arrakis ~ $ ll /mnt/VolGroup00/LogVol00/home/thufir/ |
1212 |
ls: cannot open directory /mnt/VolGroup00/LogVol00/home/thufir/: |
1213 |
Permission denied |
1214 |
thufir@arrakis ~ $ |
1215 |
thufir@arrakis ~ $ whoami |
1216 |
thufir |
1217 |
thufir@arrakis ~ $ |
1218 |
thufir@arrakis ~ $ ll /home/thufir/Desktop/ |
1219 |
total 0 |
1220 |
thufir@arrakis ~ $ |
1221 |
thufir@arrakis ~ $ |
1222 |
thufir@arrakis ~ $ date |
1223 |
Mon Oct 8 01:16:52 PDT 2007 |
1224 |
thufir@arrakis ~ $ |
1225 |
thufir@arrakis ~ $ |
1226 |
|
1227 |
arrakis ~ # |
1228 |
arrakis ~ # fdisk /dev/hda |
1229 |
|
1230 |
The number of cylinders for this disk is set to 9729. |
1231 |
There is nothing wrong with that, but this is larger than 1024, |
1232 |
and could in certain setups cause problems with: |
1233 |
1) software that runs at boot time (e.g., old versions of LILO) |
1234 |
2) booting and partitioning software from other OSs |
1235 |
(e.g., DOS FDISK, OS/2 FDISK) |
1236 |
|
1237 |
Command (m for help): p |
1238 |
|
1239 |
Disk /dev/hda: 80.0 GB, 80026361856 bytes |
1240 |
255 heads, 63 sectors/track, 9729 cylinders |
1241 |
Units = cylinders of 16065 * 512 = 8225280 bytes |
1242 |
|
1243 |
Device Boot Start End Blocks Id System |
1244 |
/dev/hda1 1 1912 15358108+ 83 Linux |
1245 |
/dev/hda2 1913 1925 104422+ 83 Linux |
1246 |
/dev/hda3 1926 9729 62685630 8e Linux LVM |
1247 |
|
1248 |
Command (m for help): q |
1249 |
|
1250 |
arrakis ~ # |
1251 |
arrakis ~ # fdisk /dev/hdb |
1252 |
|
1253 |
The number of cylinders for this disk is set to 59582. |
1254 |
There is nothing wrong with that, but this is larger than 1024, |
1255 |
and could in certain setups cause problems with: |
1256 |
1) software that runs at boot time (e.g., old versions of LILO) |
1257 |
2) booting and partitioning software from other OSs |
1258 |
(e.g., DOS FDISK, OS/2 FDISK) |
1259 |
|
1260 |
Command (m for help): p |
1261 |
|
1262 |
Disk /dev/hdb: 30.7 GB, 30750031872 bytes |
1263 |
16 heads, 63 sectors/track, 59582 cylinders |
1264 |
Units = cylinders of 1008 * 512 = 516096 bytes |
1265 |
|
1266 |
Device Boot Start End Blocks Id System |
1267 |
/dev/hdb1 1 203 102280+ 83 Linux |
1268 |
/dev/hdb2 204 2109 960624 82 Linux swap / |
1269 |
Solaris |
1270 |
/dev/hdb3 2110 59579 28964880 83 Linux |
1271 |
|
1272 |
Command (m for help): q |
1273 |
|
1274 |
arrakis ~ # |
1275 |
arrakis ~ # cat lvm.txt |
1276 |
|
1277 |
#load device module |
1278 |
modprobe dm-mod |
1279 |
#change the volumes that exist to active |
1280 |
vgchange -ay |
1281 |
#mount the logical partition |
1282 |
mkdir -p /mnt/VolGroup00/LogVol00 |
1283 |
mount /dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 |
1284 |
arrakis ~ # |
1285 |
arrakis ~ # cat /etc/fstab |
1286 |
/dev/hdb1 /boot ext2 defaults 1 2 |
1287 |
/dev/hdb2 none swap sw 0 0 |
1288 |
/dev/hdb3 / ext3 noatime 0 1 |
1289 |
none /proc proc defaults 0 0 |
1290 |
none /dev/shm tmpfs defaults 0 0 |
1291 |
/dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 ext3 |
1292 |
users,rw 0 0 |
1293 |
|
1294 |
arrakis ~ # |
1295 |
arrakis ~ # su thufir |
1296 |
thufir@arrakis /root $ cd |
1297 |
thufir@arrakis ~ $ |
1298 |
thufir@arrakis ~ $ ll /mnt/VolGroup00/LogVol00/home/thufir/ |
1299 |
ls: cannot open directory /mnt/VolGroup00/LogVol00/home/thufir/: |
1300 |
Permission denied |
1301 |
thufir@arrakis ~ $ |
1302 |
thufir@arrakis ~ $ whoami |
1303 |
thufir |
1304 |
thufir@arrakis ~ $ |
1305 |
thufir@arrakis ~ $ |
1306 |
thufir@arrakis ~ $ date |
1307 |
Mon Oct 8 01:16:52 PDT 2007 |
1308 |
thufir@arrakis ~ $ |
1309 |
thufir@arrakis ~ $ |
1310 |
|
1311 |
|
1312 |
|
1313 |
|
1314 |
|
1315 |
thanks, |
1316 |
|
1317 |
Thufir |
1318 |
|
1319 |
|
1320 |
-- |
1321 |
gentoo-user@g.o mailing list |