Hi,
I have recently done a fresh install of FreeBSD 9.1-RELEASE amd64 on my server which previously had Gentoo Linux on it. I have set up most services but I am having a real issue with RAID. I have used gvinum to make a RAID5 volume across 3 x 2TB drives, following the instructions in the manual page gvinum(8) and after creating a new fs and attempting to write to it, the process (cp/mv) will freeze and I can't even ctrl-C it. If I open a new shell and try to unmount the volume, that then freezes too (locks). Even issuing a kill -9 on the process does not kill it. I've noticed that if I do a ctrl-C a heap of times then wait about 5 minutes, it will end the process and give me my shell back.
I have tried formatting the volume as UFS2, UFS1, with journalling and without to no avail, so I think it's the lower level playing up. I issued a rebuildparity command which took about 48 hours to complete, but still no good.
The drives are AHCI SATA.
Any ideas or help would be appreciated. I'm a long time Linux user and used FreeBSD a fair bit in the past, back in the 5.0-RELEASE days on an old server.
Here are the details of the volume/plexes/drives:
I have recently done a fresh install of FreeBSD 9.1-RELEASE amd64 on my server which previously had Gentoo Linux on it. I have set up most services but I am having a real issue with RAID. I have used gvinum to make a RAID5 volume across 3 x 2TB drives, following the instructions in the manual page gvinum(8) and after creating a new fs and attempting to write to it, the process (cp/mv) will freeze and I can't even ctrl-C it. If I open a new shell and try to unmount the volume, that then freezes too (locks). Even issuing a kill -9 on the process does not kill it. I've noticed that if I do a ctrl-C a heap of times then wait about 5 minutes, it will end the process and give me my shell back.
I have tried formatting the volume as UFS2, UFS1, with journalling and without to no avail, so I think it's the lower level playing up. I issued a rebuildparity command which took about 48 hours to complete, but still no good.
The drives are AHCI SATA.
Any ideas or help would be appreciated. I'm a long time Linux user and used FreeBSD a fair bit in the past, back in the 5.0-RELEASE days on an old server.
Here are the details of the volume/plexes/drives:
Code:
gvinum -> l -V
3 drives:
Drive gvinumdrive0: Device ada1
Size: 2000398798336 bytes (1907728 MB)
Used: 2000398314496 bytes (1907728 MB)
Available: 483840 bytes (0 MB)
State: up
Flags: 0
Free list contains 1 entries:
Offset Size
2000398450176 483840
Drive gvinumdrive2: Device ada3
Size: 2000398798336 bytes (1907728 MB)
Used: 2000398314496 bytes (1907728 MB)
Available: 483840 bytes (0 MB)
State: up
Flags: 0
Free list contains 1 entries:
Offset Size
2000398450176 483840
Drive gvinumdrive1: Device ada2
Size: 2000398798336 bytes (1907728 MB)
Used: 2000398314496 bytes (1907728 MB)
Available: 483840 bytes (0 MB)
State: up
Flags: 0
Free list contains 1 entries:
Offset Size
2000398450176 483840
1 volume:
Volume gvinumvolume0: Size: 4000796628992 bytes (3815456 MB)
State: up
Plex 0: gvinumvolume0.p0 (up), 3726 GB
1 plex:
Plex gvinumvolume0.p0: Size: 4000796628992 bytes (3815456 MB)
Subdisks: 3
State: up
Organization: raid5 Stripe size: 493 kB
Flags: 0
Part of volume gvinumvolume0
Subdisk 0: gvinumvolume0.p0.s0
state: up size 2000398314496 (1907728 MB)
Subdisk 1: gvinumvolume0.p0.s1
state: up size 2000398314496 (1907728 MB)
Subdisk 2: gvinumvolume0.p0.s2
state: up size 2000398314496 (1907728 MB)
3 subdisks:
Subdisk gvinumvolume0.p0.s2:
Size: 2000398314496 bytes (1907728 MB)
State: up
Plex gvinumvolume0.p0 at offset 1009664 (986 kB)
Drive gvinumdrive2 (gvinumdrive2) at offset 135680 (132 kB)
Flags: 0
Subdisk gvinumvolume0.p0.s1:
Size: 2000398314496 bytes (1907728 MB)
State: up
Plex gvinumvolume0.p0 at offset 504832 (493 kB)
Drive gvinumdrive1 (gvinumdrive1) at offset 135680 (132 kB)
Flags: 0
Subdisk gvinumvolume0.p0.s0:
Size: 2000398314496 bytes (1907728 MB)
State: up
Plex gvinumvolume0.p0 at offset 0 (0 B)
Drive gvinumdrive0 (gvinumdrive0) at offset 135680 (132 kB)
Flags: 4
gvinum ->