freeBSD crashes

Posted on 2001-06-07
Last Modified: 2008-03-17
i've just installed freeBSD for small server purpose. however, it crashes everytime i try to write on one of the partitions, which are mounted automatically in fstab.

there are two harddisk... a 2GB drive and a 20GB drive. in DOS the partitions are as following:
- 20GB splitted into 3,6,6,3GB

C-primary, {D, E}-extension, "freeBSD"-primary

- 2GB
{F} - extension

during installation, some of the device under /dev didn't exist. i figure out where they were by trial and error.  which i suspect where the problem lies.

your help would be appreciated.

here is my fstab
# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/wd0b               none            swap    sw              0       0
/dev/wd0a               /               ufs     rw              1       1
/dev/wd0e               /usr            ufs     rw              2       2
/dev/wd0f               /var            ufs     rw              2       2
/dev/acd0c              /cdrom          cd9660  ro,noauto       0       0
/dev/ad0s1              /mnt/SystemC3GB    msdos   rw              0       0
/dev/ad0s5              /mnt/DriveD6GB        msdos   rw              0       0
/dev/ad0s6              /mnt/DriveE6GB        msdos   rw              0       0
/dev/ad1s1              /mnt/DriveF2GB    msdos   rw              0       0
proc                    /proc           procfs  rw              0       0

Question by:crest
LVL 40

Expert Comment

ID: 6167459
What version of FreeBSD is this and what device nodes did you find that you had to create manually? Also what partition is it that you can't write to?

Author Comment

ID: 6169335
i'm running freeBSD 4.2
i created ad0s5 and ad0s6 under /dev
and these are the partition i could read but ad0s6 seems to crash everytime i write to it.
LVL 40

Expert Comment

ID: 6171263
My guess is that ads06 is a FAT32 filesystem and FreeBSD doesn't like it. The others are probably FAT16. I've had problems writing to mounted FAT32 partitions with FreeBSD and Linux. I've had better success not mounting the partitions and using an up to date copy of mtools to access dos partitions.

Is this a dual-boot system? If it's not I'd suggest considering moving the data from the dos partitons onto ufs partitions.
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.


Expert Comment

ID: 6175807
why don u format ads06 to UFS by using "newfs"??
But please beware that it would wipe out the contents as it is doing a "format" on that partition.

Author Comment

ID: 6187854
is it possible to just partition E. which is within a extended partition... same as D
LVL 40

Accepted Solution

jlevie earned 100 total points
ID: 6189436
Yes, the partition information already exists, so you can dismount it an make a ufs filesystem on that partition.

Author Comment

ID: 6197993
could u tell me the detail of how to do it, thanx
LVL 20

Expert Comment

ID: 7705139
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation for this question in the Cleanup topic area as follows:
- Answered by jlevie

Please leave any comments here within the next 7 days


tfewster (I don't work here, I'm just an Expert :-)

Expert Comment

ID: 7757476
Finalized as proposed


Community Support Moderator
Experts Exchange

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question