New User? Register here - Existing Users: Username: Password: [Advanced Login]

 

 

Current Poll

Your preferred Interactive shell?









( 1367 votes ~ 15 comments )

 

Weblog entry #6 for ronin42

Writing to XFS with Linux
Posted by ronin42 on Mon 7 May 2007 at 09:27
Tags: none.
I have been unable to write files to my storage device which is formated XFS.
I have found information on XFS but it isn't very informative on how to write to it. In the past I read XFS and Linux, minus SGI, were not write compatible.
I haven't found anything definitive one way or the other for non SGI Linux systems.
Has anyone out there dealt with this?



 

Comments on this Entry

Posted by dkg (216.254.xx.xx) on Mon 7 May 2007 at 16:18
[ Send Message | View dkg's Scratchpad | View Weblogs ]
You mention in another blog post that you can write to the filesystem from the command line, but not from openoffice. What error messages do you get when trying to save to that filesystem from openoffice?

[ Parent | Reply to this comment ]

Posted by ronin42 (163.251.xx.xx) on Tue 8 May 2007 at 02:54
[ Send Message | View ronin42's Scratchpad | View Weblogs ]
I'll have to post the full screen shot later but it is along the lines of
"Error saving filexxxxx.xxx to [mount point]\directory: file not found"

ej

[ Parent | Reply to this comment ]

Posted by dkg (216.254.xx.xx) on Mon 7 May 2007 at 16:29
[ Send Message | View dkg's Scratchpad | View Weblogs ]
Is it possible that your filesystem is somehow corrupt? i've had no problem with reading or writing to an XFS filesystem in my test just now.

fwiw, i did the following steps as root (i've got an LVM volume group that i use to make test block devices from):

apt-get install xfsprogs
lvcreate --name=xfstest --size=30M vg0
mkfs.xfs /dev/mapper/vg0-xfstest
mount -t /dev/mapper/vg0-xfstest /mnt
mkdir /mnt/dkg
chown dkg:dkg /mnt/dkg
and then did this as my regular user (dkg):
touch /mnt/dkg/foo
cp ~/test.odt /mnt/dkg
oowriter /mnt/dkg/test.odt
and then made some minor changes to test.odt in Writer, saved it on that filesyste, and quit oowriter, all without errors. Maybe you can post some of the error messages you're getting?

[ Parent | Reply to this comment ]

Posted by dkg (216.254.xx.xx) on Tue 8 May 2007 at 03:18
[ Send Message | View dkg's Scratchpad | View Weblogs ]
sigh. the line for root mounting the filesystem should have been:
mount -t xfs /dev/mapper/vg0-xfstest /mnt

[ Parent | Reply to this comment ]

Posted by ronin42 (163.251.xx.xx) on Tue 8 May 2007 at 03:55
[ Send Message | View ronin42's Scratchpad | View Weblogs ]
I'm using a Buffalo Terastation. I can access it from my windows box and write/read etc...

ej

[ Parent | Reply to this comment ]

Posted by dkg (216.254.xx.xx) on Tue 8 May 2007 at 05:05
[ Send Message | View dkg's Scratchpad | View Weblogs ]
Are you implying from this that you're accessing this filesystem via some network protocol? If so, the fact that the filesystem is XFS may not be relevant: the network protocol may be the troublesome point.

What network protocol are you using? CIFS? NFS? something else? the fact that you're accessing it from a windows machine makes me suspect that you're using CIFS.

Please post more details about what you're actually doing (e.g. how things are mounted, what tools you're using, etc), and specifically what error messages you're seeing. Otherwise, any help is going to be guesswork.

[ Parent | Reply to this comment ]

 

 

Flattr