[OpenWrt-Devel] remount /dev/root readonly for shutdown

2010-01-29 Thread Gerlando Falauto
Hi all, I am (slowly) experimenting with my LaCie Ethernet Disk Mini v2 NAS. In order to maintain compatibility with Lacie's software, I did not change the disk layout (yet). I can run my own OpenWRT without disrupting the original firmware by putting the kernel's uImage on [sda9]/snaps/00/boot an

Re: [OpenWrt-Devel] remount /dev/root readonly for shutdown

2010-01-30 Thread edgar . soldin
Is there a sync command before the unmount? Maybe the system does not reach the umount call, and therefor it is never cleanly unmounted? You could debug that. Maybe the controller is caching and needs specific commands to write the cache to disc? Did you search the web? good luck, ede On 30.01

Re: [OpenWrt-Devel] remount /dev/root readonly for shutdown

2010-01-30 Thread puchu
Hi for me openwrt also doesnt umount the disk ... okay i mount them by hand (in an init script) and i dont add them to fstab but i found a simple but effective solution... maybe im wrong but for me it seems a poweroff/reboot doesnt bring any service down ,as it is done on my desktop box, it j

Re: [OpenWrt-Devel] remount /dev/root readonly for shutdown

2010-01-30 Thread Luigi Mantellini
Ciao Gerlando, can you try to modify the mount init script adding a "ps" just before the umount -a -r call? I think that you have some process that are locking some file. best regards, luigi On Sat, Jan 30, 2010 at 4:46 PM, puchu wrote: > Hi > > for me openwrt also doesnt umount the disk ... o

Re: [OpenWrt-Devel] remount /dev/root readonly for shutdown

2010-01-30 Thread Luigi Mantellini
s/are locking/is locking/g On Sat, Jan 30, 2010 at 6:30 PM, Luigi Mantellini wrote: > Ciao Gerlando, > > can you try to modify the mount init script adding a "ps" just before > the umount -a -r call? > I think that you have some process that are locking some file. > > best regards, > > luigi > >

Re: [OpenWrt-Devel] remount /dev/root readonly for shutdown

2010-01-30 Thread puchu
hi, there are some packages that need to be stopped ... just talked to ndb ... the last mail i sent just fixes this ... so it should work in future ... but if u have other progs that keep a lock on a mounted fs ... feel free to send it to the mailinglist /open a ticket :) greets Am Samstag 30 J

Re: [OpenWrt-Devel] remount /dev/root readonly for shutdown

2010-01-30 Thread Gerlando Falauto
Well, when manually "umouning -r" there were processes holding a lock, particularly syslogd or so it seems. However, I logged to console the output of the shutdown scripts - the error message for not being able to umount /dev/root is not there anymore. So apparently the shutdown script correctly ki

Re: [OpenWrt-Devel] remount /dev/root readonly for shutdown

2010-01-31 Thread Gerlando Falauto
> I tried switching to ext2, but now I can't even boot at all: > > VFS: Mounted root (ext2 filesystem) on device 8:2. > Freeing init memory: 116K > Please be patient, while OpenWrt loads ... > > Maybe I screwed up something in my backup / mkfs / restore process... > tomorrow I'll try with a fresh o

Re: [OpenWrt-Devel] remount /dev/root readonly for shutdown

2010-01-31 Thread puchu
Hi, i use xfs but on my linux desktop system (not openwrt) ... there it works nice. the only thing i know is that xfs needs more ram then ext2/3 and on systems with low ram profile it can get very unreliable and unstable. greets Am Sonntag 31 Januar 2010 14:11:12 schrieb Gerlando Falauto: > > I

Re: [OpenWrt-Devel] remount /dev/root readonly for shutdown

2010-01-31 Thread Gerlando Falauto
On Sun, Jan 31, 2010 at 2:29 PM, puchu wrote: > Hi, > > i use xfs but on my linux desktop system (not openwrt) ... there it works > nice. > the only thing i know is that xfs needs more ram then ext2/3 and on systems > with low ram profile it > can get very unreliable and unstable. Well it's 64M

Re: [OpenWrt-Devel] remount /dev/root readonly for shutdown

2010-01-31 Thread Luigi Mantellini
Ciao Gerlando, In general xfs and ext4 performances are very similar. If you really need a true transactional fs I suggest you to switch to ext4 that requires lesser resources than xfs. ciao luigi On Sun, Jan 31, 2010 at 2:29 PM, puchu wrote: > Hi, > > i use xfs but on my linux desktop system

Re: [OpenWrt-Devel] remount /dev/root readonly for shutdown

2010-02-01 Thread Thomas Monjalon
Hi Gerlando, Gerlando Falauto a écrit : > I overwrote my ext2 root fs with the fresh root filesystem. > Now everything works perfectly. > Does anybody, ever, use XFS at all? > It looks so buggy to me... Don't use XFS ! Different versions of the XFS driver are not compatibles. It seems that the v

Re: [OpenWrt-Devel] remount /dev/root readonly for shutdown

2010-02-01 Thread Gerlando Falauto
On Mon, Feb 1, 2010 at 11:38 AM, Thomas Monjalon wrote: > > Don't use XFS ! I WON'Tt. I promise. Definitely NOT for root filesystem. > Different versions of the XFS driver are not compatibles. > It seems that the version you have in your kernel is different from the > version used by LaCie. So w