92be unmounting xfs crashes whole system - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > System Hardware

System Hardware Internal storage, motherboards, PCI cards, stuff inside the case.

Reply
 
Thread Tools Display Modes
  #1  
Old April 6th, 2009, 22:31
witek's Avatar
witek witek is offline
Junior Member
 
Join Date: Mar 2009
Location: Poland.Łódź
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Default unmounting xfs crashes whole system

Hi,

I am new to BSD family, however I wanted to try how it works. I tested two FreeBSD-derived desktop-oriented products: PCBSD and DesktopBSD some time ago and noticed that using XFS partition crashes the whole system to give reboot, which I reported on their fora. I was informed that XFS write support is only experimental and it should not be mounted for writing. Today I examined the latest stable release of FreeBSD 7.1.

I just mounted manually my XFS partition without giving explicitly 'write' option. It turned out it was mounted with write access however. I succesfully created several files then I typed 'umount this_partition' and the whole system rebooted.

This is insane. Why - if the support for writing XFS partition is experimental only - FreeBSD mounts it for writing by default? And why unmounting causes reboot?? How is supposed FBSD to be considered stable if simply unmounting a filesystem crashed the whole system?
__________________
Witek
Reply With Quote
  #2  
Old April 7th, 2009, 07:12
phoenix's Avatar
phoenix phoenix is offline
Moderator
 
Join Date: Nov 2008
Location: Kamloops, BC, Canada
Posts: 3,141
Thanks: 43
Thanked 703 Times in 579 Posts
Default

Hence the term experimental, also known as "use at your own risk", or "be careful, or this may eat your homework, break all your dishes, run over your neighbour's dog, and drive your car into the river".

All filesystems are mounted read-write by default, even CD/DVD-ROMs, although the kernel detects a read-only medium and mounts it read-only. You have to specify read-only, if you want read-only. This has been the default since the dawn of computing, possibly even the dawn of time.

Very little work has gone into supporting "alien" filesystems like ext3, reiserfs, xfs, ntfs, and so on. No one needs them enough to delve into their inner working, and get them into a usable state. Everyone is, apparently, content with UFS, ext2, iso9660, udf, FAT, and ZFS.
Reply With Quote
Reply

Tags
xfs mount crash

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Random crashes during compilation Oxyd System Hardware 8 August 8th, 2009 10:24
[Solved] nvidia-driver crashes computer on X start lillis X.Org 9 March 28th, 2009 22:00
Dual-head setup has separate desktops, crashes on gnome-display-properties ceo GNOME 1 February 24th, 2009 20:45
Random crashes - reason unknown yavor General 23 January 28th, 2009 00:50
64bit ndis ar5008 module crashes kldload jwhendy System Hardware 18 January 16th, 2009 16:12


All times are GMT +1. The time now is 05:19.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0