Re: another error with md malloc based fs
- From: "Kevin Oberman" <oberman@xxxxxx>
- Date: Thu, 22 Mar 2007 16:03:14 -0700
Date: Thu, 22 Mar 2007 23:04:16 +0100
From: "Michael Schuh" <michael.schuh@xxxxxxxxx>
Sender: owner-freebsd-stable@xxxxxxxxxxx
Hi,
first i have 2GB of RAM, there are be 1,6G free
so it should enough toi make the following:
# mdconfig -a -t mallo -s 750m -u 0
# bsdlabel -w /dev/md0
# bsdlabel -e /dev/md0 (create "a" slice to use all free respective first 16
blocks)
# newfs -O2 -U /dev/md0a
mount /dev/md0a /mnt
# cd to_a_place/with/650MB_of_data/
# tar -cf - |( cd /mnt/; tar -xf -)
after ~256MB transferred i get following errors, and the system crashes
horridble.... first it doesnt react of anything, then it does silently
reboot
without a shutdown.......leaves all unclean....
extract from all.log
Mar 22 22:08:14 flying-dutchman kernel:
g_vfs_done():md0a[WRITE(offset=686899200
, length=131072)]error = 28
Mar 22 22:08:14 flying-dutchman kernel:
g_vfs_done():md0a[WRITE(offset=687030272
, length=131072)]error = 28
Mar 22 22:08:14 flying-dutchman kernel:
g_vfs_done():md0a[WRITE(offset=687161344
, length=131072)]error = 28
Mar 22 22:08:14 flying-dutchman kernel:
g_vfs_done():md0a[WRITE(offset=687292416
, length=131072)]error = 28
Any impressions, suggestions or limitations for md with malloc?
This errors occures also if i request to reserve the space by creation....
thanks
regards
michael
--
=== michael-schuh.net ===
Michael Schuh
Preußenstr. 13
66111 Saarbrücken
phone: 0681/8319664
mobil: 0177/9738644
@: michael.schuh@xxxxxxxxx
Old, old joke:
Patient: Doctor! It hurts when I do this!
Doctor: Don't do that.
This is a well known issue with malloc backed md disks. Use swap backed
ones. They will be the default in V7. They have all of the advantages of
malloc backed mds without the possibility of eating all available memory
and crashing the system.
malloc backed md disks are very dangerous and should only be used in
special circumstances and with great care.
--
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@xxxxxx Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751
Attachment:
pgp3tnYMc12Ko.pgp
Description: PGP signature
- Follow-Ups:
- Re: another error with md malloc based fs
- From: Michael Schuh
- Re: another error with md malloc based fs
- References:
- another error with md malloc based fs
- From: Michael Schuh
- another error with md malloc based fs
- Prev by Date: another error with md malloc based fs
- Next by Date: Re: another error with md malloc based fs
- Previous by thread: another error with md malloc based fs
- Next by thread: Re: another error with md malloc based fs
- Index(es):