Displaying 5 results from an estimated 5 matches for "mnt_force".
2009 Feb 05
1
nfs umount soft hang
I have an NFS server and NFS client separated by a firewall. Both
servers are FreeBSD 7.1.
Server configuration:
nfs_server_enable="YES"
nfs_server_flags="-t -n 4"
rpcbind_enable="YES"
mountd_flags="-r -p 737"
mountd_enable="YES"
The firewall allows tcp and udp to port 111, but only tcp to ports 2049
and 737 (configured for mountd, see above).
2007 Feb 18
0
[PATCH] umount: Add -l option for lazy unmount
...644
--- a/usr/utils/umount.c
+++ b/usr/utils/umount.c
@@ -17,13 +17,16 @@ int main(int argc, char *argv[])
progname = argv[0];
do {
- c = getopt(argc, argv, "f");
+ c = getopt(argc, argv, "fl");
if (c == EOF)
break;
switch (c) {
case 'f':
flag |= MNT_FORCE;
break;
+ case 'l':
+ flag |= MNT_DETACH;
+ break;
case '?':
fprintf(stderr, "%s: invalid option -%c\n",
progname, optopt);
@@ -32,7 +35,7 @@ int main(int argc, char *argv[])
} while (1);
if (optind + 1 != argc) {
- fprintf(stderr, "Usage:...
2013 Jul 07
1
Shutdown hangs on unmount of a gjournaled file system in 8-Stable
...traced=0) at subr_syscall.c:114
#9 0xffffffff805c282c in Xfast_syscall () at
/usr/src/sys/amd64/amd64/exception.S:387
(kgdb) f 5
#5 0xffffffff80493202 in vfs_unmountall () at
/usr/src/sys/kern/vfs_subr.c:3321
3321 error = dounmount(mp, MNT_FORCE, td);
(kgdb) p mp->mnt_lockref
$1=1
(kgdb) f 4
#4 0xffffffff8048ee42 in dounmount (mp=0xffffff007f7e52f0,
flags=524288, td=<value optimized out>)
at /usr/src/sys/kern/vfs_mount.c:1266
1266 error = msleep(&mp->mnt_lockref, MNT_MTX(mp), PVFS...
2011 Jul 13
9
[PATCH 0/8] switch_root() enhancements
On a train ride to Bruxelles, brought out my axe and directly attacked
run_init(8). run_init(8) is dead, long live switch_root(8).
The next run on switch_root(8) involves fdopendir,
so another push for the upcoming stdio 1.6 branch.
The following is boot tested with initramfs-tools,
kinit(8) tests would very much be appreciated!?
Michal Suchanek (1):
[klibc] switch_root: Fix single file
2012 Sep 30
2
rsync over NFSv4
Hi,
my FreeBSD-9/stable machine (FreeBSD freebsd-tower.goebo.site
9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #2 r241044M: Sat Sep 29 12:52:01
CEST 2012 lbo@freebsd-tower.goebo.site:/usr/obj/usr/src/sys/GENERIC
i386) crashes reproducibly when rsync-ing files to an NFSv4 share on
the FreeBSD machine. The crash makes the system reboot. The crash
creates files in /var/crash which may be obtained