unmounting xfs crashes whole system

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

unmounting xfs crashes whole system

Postby witek » 06 Apr 2009, 21:31

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
User avatar
witek
Junior Member
 
Posts: 11
Joined: 30 Mar 2009, 20:47
Location: Poland.Łódź

Postby phoenix » 07 Apr 2009, 06:12

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". :D

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.
User avatar
phoenix
MFC'd
 
Posts: 3349
Joined: 17 Nov 2008, 05:43
Location: Kamloops, BC, Canada


Return to System Hardware

Who is online

Users browsing this forum: Bing [Bot] and 0 guests