* issue with unmount of XFS partation
@ 2010-12-01 4:43 naveen yadav
2010-12-01 7:42 ` Emmanuel Florac
0 siblings, 1 reply; 2+ messages in thread
From: naveen yadav @ 2010-12-01 4:43 UTC (permalink / raw)
To: xfs
Hi all,
I am running XFS 2.6.34 on ARM target, When i do USB plug and uplug
some 30~40 times i found that system show USB mounted, but there is no
USB,
The USB have two partation FAT and XFS, FAT on First and XFS on Second.
FAT got unmounted every time, but XFS does not,
/dev/sda2 on /dtv/usb/sda2 type xfs (rw,relatime,nouuid,attr2,noquota)
/dev/sdb2 on /dtv/usb/sdb2 type xfs (rw,relatime,nouuid,attr2,noquota)
If I do sync on Shell I got below error.
xfs_force_shutdown(sda2,0x1) called from line 1004 of file fs/xfs/linux-2.6/xfs_
buf.c. Return address = 0x801c7aa8
xfs_force_shutdown(sdb2,0x1) called from line 1004 of file fs/xfs/linux-2.6/xfs_
buf.c. Return address = 0x801c7aa8But If i do manual umount
and this message continues display
Filesystem "sda2": xfs_log_force: error 5 returned.
Filesystem "sdb2": xfs_log_force: error 5 returned.
Filesystem "sda2": xfs_log_force: error 5 returned.
Filesystem "sdb2": xfs_log_force: error 5 returned.
Filesystem "sda2": xfs_log_force: error 5 returned.
Filesystem "sdb2": xfs_log_force: error 5 returned.
Filesystem "sda2": xfs_log_force: error 5 returned.
Filesystem "sdb2": xfs_log_force: error 5 returned.
Filesystem "sda2": xfs_log_force: error 5 returned.
Filesystem "sdb2": xfs_log_force: error 5 returned.
Filesystem "sda2": xfs_log_force: error 5 returned.
Filesystem "sdb2": xfs_log_force: error 5 returned.
Filesystem "sda2": xfs_log_force: error 5 returned.
Filesystem "sdb2": xfs_log_force: error 5 returned.
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: issue with unmount of XFS partation
2010-12-01 4:43 issue with unmount of XFS partation naveen yadav
@ 2010-12-01 7:42 ` Emmanuel Florac
0 siblings, 0 replies; 2+ messages in thread
From: Emmanuel Florac @ 2010-12-01 7:42 UTC (permalink / raw)
To: naveen yadav; +Cc: xfs
Le Wed, 1 Dec 2010 10:13:57 +0530 vous écriviez:
> FAT got unmounted every time, but XFS does not,
>
> /dev/sda2 on /dtv/usb/sda2 type xfs (rw,relatime,nouuid,attr2,noquota)
> /dev/sdb2 on /dtv/usb/sdb2 type xfs (rw,relatime,nouuid,attr2,noquota)
>
> If I do sync on Shell I got below error.
I don't get it, do you unmount the FS before unplugging USB? It looks
like you simply pulled the cable. FAT is an extremely primitive
filesystem that remains coherent when there isn't any data in cache or
disk activity; xfs (and all other modern filesystems) simply doesn't
work that way. You must "umount" it before unplugging, else you'll
break it.
--
------------------------------------------------------------------------
Emmanuel Florac | Direction technique
| Intellique
| <eflorac@intellique.com>
| +33 1 78 94 84 02
------------------------------------------------------------------------
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-01 7:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-01 4:43 issue with unmount of XFS partation naveen yadav
2010-12-01 7:42 ` Emmanuel Florac
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox