Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mount-ro failed because we are using / (zfs related)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
sergeev917
n00b
n00b


Joined: 04 Apr 2014
Posts: 19

PostPosted: Fri Apr 04, 2014 8:18 pm    Post subject: mount-ro failed because we are using / (zfs related) Reply with quote

Hi,
I've encountered with this problem (failed to remount / to read-only on shutdown) when playing with zfs (standalone, not rootfs on zfs).
I'm pretty sure that issue caused by zfs module (version 0.6.2-r3) because I'm able to remount root read-only without zfs:

Code:

# rc single
<...>
# mount -o remount,ro /
mount: /: filesystem mounted, but mount(8) failed: Read-only file system
# mount -o remount,rw /
# modprobe zfs
# mount -o remount,ro /
mount: / is busy


zfs kernel module is unloadable I suppose. Can anybody help me here? Ideas?
Back to top
View user's profile Send private message
sergeev917
n00b
n00b


Joined: 04 Apr 2014
Posts: 19

PostPosted: Mon Apr 07, 2014 7:44 pm    Post subject: Reply with quote

Sorry, It was my fault. For testing I've used storage located at file in root filesystem -- so I got lock.
But how can I tell zfs that file should be released because system is going to halt?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum