1 |
hello Gentoo server folks, |
2 |
|
3 |
I have a 2U server with a 3ware 9500-12MI controller. there are two |
4 |
80 GB drives in RAID-1 which servers as the boot device, and ten 400 |
5 |
GB drives in RAID-5 which I want to have mounted as a single volume |
6 |
at /data. |
7 |
|
8 |
if I start fresh and create the filesystem after the system has |
9 |
booted, and mount it, all is well. however, when I reboot the system, |
10 |
the filesystem won't be mounted and I'll get an error. |
11 |
|
12 |
to start, I used GNU parted to partition the device, which is at / |
13 |
dev/sdb. here's a transcript of the session: |
14 |
|
15 |
Using /dev/sdb |
16 |
(parted) mklabel |
17 |
New disk label type? gpt |
18 |
(parted) print |
19 |
Disk geometry for /dev/sdb: 0kB - 3600GB |
20 |
Disk label type: gpt |
21 |
Number Start End Size File system Name Flags |
22 |
(parted) mkpart |
23 |
Partition type? [primary]? |
24 |
File system type? [ext2]? reiserfs |
25 |
Start? 0.0 |
26 |
End? 3600G |
27 |
(parted) print |
28 |
Disk geometry for /dev/sdb: 0kB - 3600GB |
29 |
Disk label type: gpt |
30 |
Number Start End Size File system Name Flags |
31 |
1 17kB 3600GB 3600GB |
32 |
(parted) quit |
33 |
|
34 |
I then do a plain: |
35 |
|
36 |
root ~ # mkreiserfs /dev/sdb1 |
37 |
mkreiserfs 3.6.19 (2003 www.namesys.com) |
38 |
Guessing about desired format.. Kernel 2.6.17-gentoo-r4 is running. |
39 |
Format 3.6 with standard journal |
40 |
Count of blocks on the device: 878881520 |
41 |
Number of blocks consumed by mkreiserfs formatting process: 35033 |
42 |
Blocksize: 4096 |
43 |
Hash function used to sort names: "r5" |
44 |
Journal Size 8193 blocks (first block 18) |
45 |
Journal Max transaction length 1024 |
46 |
inode generation number: 0 |
47 |
UUID: 80864192-b2b1-4f20-ab16-a1242e5cfa1b |
48 |
ATTENTION: YOU SHOULD REBOOT AFTER FDISK! |
49 |
ALL DATA WILL BE LOST ON '/dev/sdb1'! |
50 |
Continue (y/n):y |
51 |
Initializing journal - 0%....20%....40%....60%....80%....100% |
52 |
Syncing..ok |
53 |
|
54 |
root ~ # mount /dev/sdb1 /data |
55 |
root ~ # df -h |
56 |
[ ... snip ... ] |
57 |
/dev/sdb1 3.3T 33M 3.3T 1% /data |
58 |
|
59 |
and all is well. |
60 |
|
61 |
however, when I update /etc/fstab and reboot the machine, the kernel |
62 |
loads and mounts the reiserfs filesystems on the boot volume, but |
63 |
then I get: |
64 |
|
65 |
reiserfs_open: the reiserfs superblock cannot be found /dev/sdb1. |
66 |
Failed to open the filesystem. |
67 |
|
68 |
here's a screenshot of the console: |
69 |
|
70 |
http://www.project55.net/noloveatboot.png |
71 |
|
72 |
I hit Control-D and allow the system to finish booting. then I |
73 |
attempted this: |
74 |
|
75 |
root ~ # mount /dev/sdb1 /data |
76 |
mount: you must specify the filesystem type |
77 |
root ~ # mount -t reiserfs /dev/sdb1 /data |
78 |
mount: wrong fs type, bad option, bad superblock on /dev/sdb1, |
79 |
missing codepage or other error |
80 |
In some cases useful info is found in syslog - try |
81 |
dmesg | tail or so |
82 |
root ~ # dmesg | tail |
83 |
[ ... snip ...] |
84 |
FAT: bogus number of reserved sectors |
85 |
VFS: Can't find a valid FAT filesystem on dev sdb1. |
86 |
ReiserFS: sdb1: warning: sh-2021: reiserfs_fill_super: can not find |
87 |
reiserfs on sdb1 |
88 |
|
89 |
this message makes me a bit suspicious. I've tried creating the |
90 |
reiserfs filesystem from inside parted using mkfs, but I just get |
91 |
this, in spite of having reiserfsprogs emerged before I emerged parted: |
92 |
|
93 |
No Implementation: Support for creating reiserfs file systems is not |
94 |
implemented yet. |
95 |
|
96 |
I'm running kernel version 2.6.17-gentoo-r4, with the following |
97 |
enabled: |
98 |
|
99 |
Block layer ---> |
100 |
[*] Support for Large Block Devices |
101 |
Partition Types ---> |
102 |
[*] Advanced partition selection |
103 |
... |
104 |
[*] EFI GUID Partition support |
105 |
|
106 |
just for complete information overload, here is the status of the |
107 |
RAID unit as reported by the 3ware controller: |
108 |
|
109 |
Status: OK |
110 |
Capacity: 3.27 TB |
111 |
Type: RAID 5 |
112 |
Stripe: 256kB |
113 |
|
114 |
any insights would be most welcome! |
115 |
|
116 |
cheers, |
117 |
|
118 |
- Jared |
119 |
|
120 |
-- |
121 |
Move 'sig'. For great justice. |
122 |
|
123 |
-- |
124 |
gentoo-server@g.o mailing list |