Gentoo Archives: gentoo-server

From: Chris <taskara@××××××××××××.net>
To: gentoo-server@g.o
Subject: RE: [gentoo-server] Filesystem question
Date: Mon, 11 Aug 2003 23:51:17
Message-Id: 9B4960FA7A00AF49A3519CCECBE5455208C781@shadrach.peakindustries.local
1 Sorry.. left off the rest of message:
2
3 If not, u can make the link - but I am under the impression that your
4 system is booting fine ?
5
6 Here is my "df"
7
8 root@server chris # df
9 Filesystem 1K-blocks Used Available Use% Mounted on
10 /dev/root 987928 150204 837724 16% /
11 /dev/hda6 987928 32848 955080 4% /tmp
12 /dev/hda7 987928 210652 777276 22% /var
13 /dev/hda8 4891604 1830116 3061488 38% /usr
14 /dev/hda9 30112884 6409336 23703548 22% /home
15 tmpfs 257136 0 257136 0% /dev/shm
16
17 Hope this helps..
18
19 If not, I will shut up now ;)
20
21 Chris
22
23 -----Original Message-----
24 From: Chris [mailto:taskara@××××××××××××.net]
25 Sent: Tuesday, 12 August 2003 9:51 AM
26 To: gentoo-server@g.o
27 Subject: RE: [gentoo-server] Filesystem question
28
29 Hey Collin,
30
31 I think that is normal,
32
33 If u run the following:
34
35 root@server chris # ls -l /dev/root
36
37 u will see that it does indeed point to your root partition:
38
39
40 lr-xr-xr-x 1 root root 33 Jul 20 17:43 /dev/root ->
41 ide/host0/bus0/target0/lun0/part5
42
43 Cheers,
44
45 Chris
46
47 -----Original Message-----
48 From: Collin Starkweather
49 [mailto:collin.starkweather@××××××××××××××××××.com]
50 Sent: Tuesday, 12 August 2003 9:23 AM
51 To: gentoo-server@g.o
52 Subject: [gentoo-server] Filesystem question
53
54 I recently installed Gentoo for the first time (and am loving it!) and
55 flubbed the step in the installation in which you edit /etc/fstab.
56 Though everything seems to be working correctly, some behavior has left
57 me mystified.
58
59 The flub was as follows: The original /etc/fstab that comes with Gentoo
60 has /dev/ROOT set to xfs. I accidentally forgot to change xfs to ext3.
61 When I cycled the box, fsck gave a few complaints but it booted just
62 fine. I corrected the problem and rebooted, but df now gives me
63
64 www build # df
65 Filesystem 1K-blocks Used Available Use% Mounted on
66 /dev/root 4134900 2107248 1985644 52% /
67 none 257572 0 257572 0% /dev/shm
68 /dev/sda7 4134900 45520 4047372 2% /app
69 ... blah blah blah ...
70
71 Of course, there is no /dev/root:
72
73 www build # ls -l /dev/root
74 ls: /dev/root: No such file or directory
75 www build #
76
77 According to fstab, I am supposed to have
78
79 /dev/sda1 -> /boot
80 /dev/sda5 -> /
81 /dev/sda6 -> swap
82 /dev/sda7 -> /app
83 /dev/sda8 -> /opt
84 /dev/sda9 -> /home
85
86 So I am somewhat mystified what /dev/root is (I've confirmed it is in
87 fact /dev/sda5); that is, why does it show up as it does in my df
88 output?
89
90 My /etc/fstab, partition table for /dev/sda, and dmesg output is below
91 my sig.
92
93 Thanks in advance!
94
95 -Collin
96
97 --
98 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
99 Collin Starkweather, Ph.D collin.starkweather@××××××××.edu
100 University of Colorado Department of Economics
101 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
102
103
104 > MY /etc/fstab:
105 >
106 > www build # cat /etc/fstab
107 > # /etc/fstab: static file system information.
108 > # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.12
109 > 2003/03/11 02:50:53 azarah Exp $
110 > #
111 > # noatime turns of atimes for increased performance (atimes normally
112 > aren't
113 > # needed; notail increases performance of ReiserFS (at the expense of
114 > storage
115 > # efficiency). It's safe to drop the noatime options if you want and
116 to
117 > # switch between notail and tail freely.
118 >
119 > # <fs> <mountpoint> <type>
120 > <opts> <dump/pass>
121 >
122 > # NOTE: If your BOOT partition is ReiserFS, add the notail option to
123 > opts.
124 > /dev/sda1 /boot ext2
125 > noauto,noatime 1 1
126 > /dev/sda5 / ext3
127 > noatime 0 0
128 > /dev/sda6 none swap
129 > sw 0 0
130 > /dev/cdroms/cdrom0 /mnt/cdrom iso9660
131 > noauto,ro 0 0
132 >
133 > # NOTE: The next line is critical for boot!
134 > none /proc proc
135 > defaults 0 0
136 >
137 > none /dev/shm tmpfs
138 > defaults 0 0
139 >
140 > /dev/sda7 /app ext3
141 > defaults 1 2
142 > /dev/sda8 /opt ext3
143 > defaults 1 2
144 > /dev/sda9 /home ext3
145 > defaults 1 2
146 >
147 > /dev/sdb1 /archive ext2
148 > defaults 1 2
149 >
150 > www build #
151 >
152 > MY PARTITION TABLE FOR /dev/sda:
153 >
154 > www build # cat partitions.sda
155 > # partition table of /dev/sda
156 > unit: sectors
157 >
158 > /dev/sda1 : start= 63, size= 273042, Id=83, bootable
159 > /dev/sda2 : start= 0, size= 0, Id= 0
160 > /dev/sda3 : start= 0, size= 0, Id= 0
161 > /dev/sda4 : start= 273105, size= 71408925, Id= 5
162 > /dev/sda5 : start= 273168, size= 8401932, Id=83
163 > /dev/sda6 : start= 8675163, size= 2104452, Id=82
164 > /dev/sda7 : start= 10779678, size= 8401932, Id=83
165 > /dev/sda8 : start= 19181673, size= 8401932, Id=83
166 > /dev/sda9 : start= 27583668, size= 44098362, Id=83
167 > www build #
168 >
169 > THE OUTPUT FROM dmesg:
170 >
171 > www build # cat dmesg.2003.08.11.txt
172 > Linux version 2.4.19-gentoo-r10 (root@insane) (gcc version 3.2.2) #1
173 Sun
174 > Jun 1 18:36:57 MDT 2003
175 > BIOS-provided physical RAM map:
176 > BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
177 > BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
178 > BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
179 > BIOS-e820: 0000000000100000 - 000000001ffd0000 (usable)
180 > BIOS-e820: 000000001ffd0000 - 000000001ffff000 (ACPI data)
181 > BIOS-e820: 000000001ffff000 - 0000000020000000 (ACPI NVS)
182 > BIOS-e820: 00000000fec00000 - 00000000fec02000 (reserved)
183 > BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
184 > BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
185 > 511MB LOWMEM available.
186 > found SMP MP-table at 000ff780
187 > hm, page 000ff000 reserved twice.
188 > hm, page 00100000 reserved twice.
189 > hm, page 000f1000 reserved twice.
190 > hm, page 000f2000 reserved twice.
191 > Advanced speculative caching feature not present
192 > On node 0 totalpages: 131024
193 > zone(0): 4096 pages.
194 > zone(1): 126928 pages.
195 > zone(2): 0 pages.
196 > Intel MultiProcessor Specification v1.4
197 > Virtual Wire compatibility mode.
198 > OEM ID: INTEL Product ID: CNB30LE APIC at: 0xFEE00000
199 > Processor #0 Pentium(tm) Pro APIC version 17
200 > I/O APIC #4 Version 17 at 0xFEC00000.
201 > I/O APIC #5 Version 17 at 0xFEC01000.
202 > Processors: 1
203 > Kernel command line: root=/dev/sda5
204 > Initializing CPU#0
205 > Detected 997.515 MHz processor.
206 > Console: colour VGA+ 80x25
207 > Calibrating delay loop... 1992.29 BogoMIPS
208 > Memory: 512888k/524096k available (1231k kernel code, 8644k reserved,
209 > 447k data, 80k init, 0k highmem)
210 > Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
211 > Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
212 > Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
213 > Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
214 > Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
215 > CPU: Before vendor init, caps: 0387fbff 00000000 00000000, vendor = 0
216 > CPU: L1 I cache: 16K, L1 D cache: 16K
217 > CPU: L2 cache: 256K
218 > CPU: After vendor init, caps: 0387fbff 00000000 00000000 00000000
219 > CPU serial number disabled.
220 > Intel machine check architecture supported.
221 > Intel machine check reporting enabled on CPU#0.
222 > CPU: After generic, caps: 0383fbff 00000000 00000000 00000000
223 > CPU: Common caps: 0383fbff 00000000 00000000 00000000
224 > CPU: Intel Pentium III (Coppermine) stepping 0a
225 > Enabling fast FPU save and restore... done.
226 > Enabling unmasked SIMD FPU exception support... done.
227 > Checking 'hlt' instruction... OK.
228 > POSIX conformance testing by UNIFIX
229 > enabled ExtINT on CPU#0
230 > ESR value before enabling vector: 00000004
231 > ESR value after enabling vector: 00000000
232 > Using local APIC timer interrupts.
233 > calibrating APIC timer ...
234 > ..... CPU clock speed is 997.5173 MHz.
235 > ..... host bus clock speed is 133.0022 MHz.
236 > cpu: 0, clocks: 1330022, slice: 665011
237 > CPU0<T0:1330016,T1:664992,D:13,S:665011,C:1330022>
238 > mtrr: v1.40 (20010327) Richard Gooch (rgooch@××××××××××.au)
239 > mtrr: detected mtrr type: Intel
240 > PCI: PCI BIOS revision 2.10 entry at 0xfda65, last bus=1
241 > PCI: Using configuration type 1
242 > PCI: Probing PCI hardware
243 > PCI: Discovered primary peer bus 01 [IRQ]
244 > isapnp: Scanning for PnP cards...
245 > isapnp: No Plug & Play device found
246 > Linux NET4.0 for Linux 2.4
247 > Based upon Swansea University Computer Society NET3.039
248 > Initializing RT netlink socket
249 > Starting kswapd
250 > Journalled Block Device driver loaded
251 > Detected PS/2 Mouse Port.
252 > pty: 256 Unix98 ptys configured
253 > Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
254 > SERIAL_PCI ISAPNP enabled
255 > ttyS00 at 0x03f8 (irq = 4) is a 16550A
256 > Uniform Multi-Platform E-IDE driver Revision: 6.31
257 > ide: Assuming 33MHz system bus speed for PIO modes; override with
258 > idebus=xx
259 > ServerWorks OSB4: IDE controller on PCI bus 00 dev 79
260 > ServerWorks OSB4: detected chipset, but driver not compiled in!
261 > ServerWorks OSB4: chipset revision 0
262 > ServerWorks OSB4: not 100% native mode: will probe irqs later
263 > ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:pio, hdb:pio
264 > ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:pio, hdd:pio
265 > Floppy drive(s): fd0 is 1.44M
266 > FDC 0 is a post-1991 82077
267 > loop: loaded (max 8 devices)
268 > eepro100.c:v1.09j-t 9/29/99 Donald Becker
269 > http://www.scyld.com/network/eepro100.html
270 > eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V.
271 Savochkin
272 > <saw@××××××××××.sg> and others
273 > eth0: Intel Corp. 82557/8/9 [Ethernet Pro 100], 00:02:B3:87:25:B6, IRQ
274 > 10.
275 > Board assembly 000000-000, Physical connectors present: RJ45
276 > Primary interface chip i82555 PHY #1.
277 > General self-test: passed.
278 > Serial sub-system self-test: passed.
279 > Internal registers self-test: passed.
280 > ROM checksum self-test: passed (0x04f4518b).
281 > eth1: Intel Corp. 82557/8/9 [Ethernet Pro 100] (#2),
282 00:02:B3:87:25:B7,
283 > IRQ 5.
284 > Board assembly 000000-000, Physical connectors present: RJ45
285 > Primary interface chip i82555 PHY #1.
286 > General self-test: passed.
287 > Serial sub-system self-test: passed.
288 > Internal registers self-test: passed.
289 > ROM checksum self-test: passed (0x04f4518b).
290 > Linux agpgart interface v0.99 (c) Jeff Hartmann
291 > agpgart: Maximum main memory to use for agp memory: 439M
292 > agpgart: no supported devices found.
293 > SCSI subsystem driver Revision: 1.00
294 > scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
295 > <Adaptec aic7899 Ultra160 SCSI adapter>
296 > aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
297 >
298 > scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
299 > <Adaptec aic7899 Ultra160 SCSI adapter>
300 > aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
301 >
302 > Vendor: IBM Model: DDYS-T36950M Rev: SC4D
303 > Type: Direct-Access ANSI SCSI revision: 03
304 > (scsi1:A:0): 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit)
305 > Vendor: IBM Model: DDYS-T36950M Rev: SC4D
306 > Type: Direct-Access ANSI SCSI revision: 03
307 > (scsi1:A:1): 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit)
308 > Vendor: ESG-SHV Model: SCA HSBP M14 Rev: 0.01
309 > Type: Processor ANSI SCSI revision: 02
310 > scsi1:A:0:0: Tagged Queuing enabled. Depth 253
311 > scsi1:A:1:0: Tagged Queuing enabled. Depth 253
312 > Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
313 > Attached scsi disk sdb at scsi1, channel 0, id 1, lun 0
314 > SCSI device sda: 71687340 512-byte hdwr sectors (36704 MB)
315 > Partition check:
316 > sda: sda1 sda4 < sda5 sda6 sda7 sda8 sda9 >
317 > SCSI device sdb: 71687340 512-byte hdwr sectors (36704 MB)
318 > sdb: sdb1
319 > usb.c: registered new driver hub
320 > uhci.c: USB Universal Host Controller Interface driver v1.1
321 > Initializing USB Mass Storage driver...
322 > usb.c: registered new driver usb-storage
323 > USB Mass Storage support registered.
324 > NET4: Linux TCP/IP 1.0 for NET4.0
325 > IP Protocols: ICMP, UDP, TCP
326 > IP: routing cache hash table of 4096 buckets, 32Kbytes
327 > TCP: Hash tables configured (established 32768 bind 65536)
328 > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
329 > kjournald starting. Commit interval 5 seconds
330 > EXT3-fs: mounted filesystem with ordered data mode.
331 > VFS: Mounted root (ext3 filesystem) readonly.
332 > Freeing unused kernel memory: 80k freed
333 > Adding Swap: 1052216k swap-space (priority -1)
334 > EXT3 FS 2.4-0.9.17, 10 Jan 2002 on sd(8,5), internal journal
335 > kjournald starting. Commit interval 5 seconds
336 > EXT3 FS 2.4-0.9.17, 10 Jan 2002 on sd(8,7), internal journal
337 > EXT3-fs: mounted filesystem with ordered data mode.
338 > kjournald starting. Commit interval 5 seconds
339 > EXT3 FS 2.4-0.9.17, 10 Jan 2002 on sd(8,8), internal journal
340 > EXT3-fs: mounted filesystem with ordered data mode.
341 > kjournald starting. Commit interval 5 seconds
342 > EXT3 FS 2.4-0.9.17, 10 Jan 2002 on sd(8,9), internal journal
343 > EXT3-fs: mounted filesystem with ordered data mode.
344 > www build #
345 >

Replies

Subject Author
Re: [gentoo-server] Filesystem question adam morley <adam-gentoo-server@×××.com>