Solved

freeBSD crashes

Posted on 2001-06-07
9
444 Views
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

0
Comment
Question by:crest
9 Comments
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
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?
0
 

Author Comment

by:crest
Comment Utility
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.
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
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.
0
 
LVL 1

Expert Comment

by:Haho
Comment Utility
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.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:crest
Comment Utility
is it possible to just partition E. which is within a extended partition... same as D
0
 
LVL 40

Accepted Solution

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

Author Comment

by:crest
Comment Utility
could u tell me the detail of how to do it, thanx
0
 
LVL 20

Expert Comment

by:tfewster
Comment Utility
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

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

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

Expert Comment

by:modulo
Comment Utility
Finalized as proposed

modulo

Community Support Moderator
Experts Exchange
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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.

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now