Displaying 20 results from an estimated 36 matches for "umount2".
Did you mean:
umount
2016 Feb 02
5
nfs stuck, don't know what processes to kill
My NFS server is up and other clients can access x. One particular client
can't. I tried to unmount the NFS share:
[root at nfsclient ~]# umount -f /disk/x
umount2: Device or resource busy
umount.nfs: /disk/x: device is busy
umount2: Device or resource busy
umount.nfs: /disk/x: device is busy
If I use df or lsof to try to figure out what process to kill, they hang. I
am reluctant to just reboot, as many other users are getting stuff done.
dmesg doesn't s...
2016 Feb 03
1
nfs stuck, don't know what processes to kill
...Tue, Feb 2, 2016 at 9:23 AM, <m.roth at 5-cent.us> wrote:
> Dave Burns wrote:
> > My NFS server is up and other clients can access x. One particular client
> > can't. I tried to unmount the NFS share:
> >
> > [root at nfsclient ~]# umount -f /disk/x
> > umount2: Device or resource busy
> > umount.nfs: /disk/x: device is busy
> > umount2: Device or resource busy
> > umount.nfs: /disk/x: device is busy
> >
> > If I use df or lsof to try to figure out what process to kill, they hang.
> > I
> > am reluctant to just re...
2013 Mar 05
2
Need to unmount an LV from host system
.../dev/mapper/vg_mei-lv_bacteriaroot
umount: /: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
I tried to force unmount the device, but that failed also.
[root at earth ~]# umount -f /dev/mapper/vg_mei-lv_bacteriaroot
umount2: Device or resource busy
umount: /: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount2: Device or resource busy
What other options are there. Is there are way to get this unmounted
without having to shutdown my...
2011 Jan 26
2
how to unmount an NFS share when the NFS server is unavailable?
Hi All,
How do I unmount an NFS share when the NFS server is unaivalable?
I tried "umount /bck" but it "hangs" indefinitely
"umount -f /bck" tells me the mount if busy and I can't unmount it:
root at saturn:[~]$ umount -f /bck
umount2: Device or resource busy
umount: /bck: device is busy
umount2: Device or resource busy
umount: /bck: device is busy
This non-working NFS share is causing problems on the server and I
need to unmount it until such a time when the NFS server (faulty NAS)
is repaired.
--
Kind Regards
Rudi Ahler...
2005 Jan 05
1
[PATCH] kinit/kinit.c
...root/old_root */
+ check_path("old_root");
#ifndef INI_DEBUG
if (pivot_root(".", "old_root") == -1) {
@@ -255,6 +261,8 @@
ret = 2;
goto bail;
}
+ /* the below chdir() is good style after a pivot_root() */
+ chdir("/");
if (mnt_procfs == 1)
umount2("/proc", 0);
@@ -262,18 +270,12 @@
if (mnt_sysfs == 1)
umount2("/sys", 0);
- for (i = 1; i < cmdc; i++) {
- if (strncmp(cmdv[i], "kinit=", 6) == 0) {
- kinit = cmdv[i] + 6;
- }
- }
-
- if (kinit) {
+ if ((kinit = get_arg(cmdc, cmdv, "kinit=")))...
2016 Feb 02
0
nfs stuck, don't know what processes to kill
...t; ('eff el')
On Tue, Feb 2, 2016 at 1:58 PM, Dave Burns <tburns at hawaii.edu> wrote:
> My NFS server is up and other clients can access x. One particular client
> can't. I tried to unmount the NFS share:
>
> [root at nfsclient ~]# umount -f /disk/x
> umount2: Device or resource busy
> umount.nfs: /disk/x: device is busy
> umount2: Device or resource busy
> umount.nfs: /disk/x: device is busy
>
> If I use df or lsof to try to figure out what process to kill, they hang. I
> am reluctant to just reboot, as many other users are getting st...
2016 Feb 02
0
nfs stuck, don't know what processes to kill
Dave Burns wrote:
> My NFS server is up and other clients can access x. One particular client
> can't. I tried to unmount the NFS share:
>
> [root at nfsclient ~]# umount -f /disk/x
> umount2: Device or resource busy
> umount.nfs: /disk/x: device is busy
> umount2: Device or resource busy
> umount.nfs: /disk/x: device is busy
>
> If I use df or lsof to try to figure out what process to kill, they hang.
> I
> am reluctant to just reboot, as many other users are getti...
2005 Jan 31
1
Error unmounting ?
When i shutdown my computer i see the following message:
Unmounting file systems: umount2: Device or resource busy
umount: /var: device is busy
What is the error ???
I install centos 3.4 on i386.
Thanks for help
2006 Mar 22
1
[patch] trivial cleanup
...;%s' not a directory\n", progname, path);
exit(1);
}
}
@@ -276,8 +276,6 @@
check_path("/root");
do_mounts(cmdc, cmdv);
- /* do_mounts cd's to /root so below tests /root/old_root */
- check_path("old_root");
if (mnt_procfs == 1)
umount2("/proc", 0);
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
2020 Jul 25
0
[klibc:master] Clean up clang warnings
...2 insertions(+), 2 deletions(-)
diff --git a/usr/kinit/initrd.c b/usr/kinit/initrd.c
index 7eece2ce..5833f2f2 100644
--- a/usr/kinit/initrd.c
+++ b/usr/kinit/initrd.c
@@ -153,7 +153,7 @@ static int run_linuxrc(int argc, char *argv[], dev_t root_dev)
int olddev = open(ramdisk_name, O_RDWR);
umount2("/old", MNT_DETACH);
if (olddev < 0 ||
- ioctl(olddev, BLKFLSBUF, (long)0) ||
+ ioctl(olddev, BLKFLSBUF, 0) ||
close(olddev)) {
fprintf(stderr,
"%s: Cannot flush initrd contents\n",
diff --git a/usr/kinit/ramdisk_load.c b/usr/kinit/ramdisk_l...
2015 Nov 23
0
Re: guestunmount issues
...as well, while
> > umount {}
> handles this error successfully and returns "not mounted".
> (strace logs attached)
Well, umount still returns 1, so
In any case, both fail due to the mount point not being actually
mounted; the difference is that umount takes the EINVAL from umount2
(which calls the umount Linux syscall) as an indication the directory
is not a mount point, while fusermount just reports the failure as it
is.
> I'd like someone to compare results with mine, and, possibly, give me
> some explanations about why it's going like this and how to disti...
2013 Oct 11
1
Centos 6.4 - doesnt power off with shutdown/poweroff cmd
...I used the Centos 6.4 Live CD last night with no hard drive in the system.
I photo'd the shutdown, here is the type up:
Sending all processes the TERM signal...
Sendng all processes the KILL signal...
Saving random seed:
Syncing hardware clock to system time
Turning off quotas:
umount2: Device or resource busy
umount: /dev/.initramfs/live: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(11))
init: Re-executing /sbin/init
Halting System...
r8169 0000:02:00.0: PME# enabled
ACPI: Pre...
2015 Nov 23
2
guestunmount issues
Hello everyone!
I'm playing with guestunmount and got the following issues:
1) guestunmount never returns 3 (not mounted) - i guess it's a bug at
guestunmount.c:223
2) I don't know whether it's a bug in guestunmount or fusermount, but on
my machine while executing
> guestmount
> guestunmount
> guestunmount
on second "guestunmount" I get
2010 Apr 28
1
[PATCH] RFC: Running initscripts from kinit
...free(names[i]);
+ free(names);
+ closedir(dir);
+}
+
/* This is the argc and argv we pass to init */
const char *init_path;
int init_argc;
@@ -288,6 +356,8 @@ int main(int argc, char *argv[])
check_path("/root");
do_mounts(cmdc, cmdv);
+ do_runscripts();
+
if (mnt_procfs) {
umount2("/proc", 0);
mnt_procfs = 0;
--
1.7.0.1
2012 May 04
2
[PATCH] run-init: add drop_capabilities support
...t/kinit.c
index 8ea0da5..523c92b 100644
--- a/usr/kinit/kinit.c
+++ b/usr/kinit/kinit.c
@@ -284,8 +284,6 @@ int main(int argc, char *argv[])
check_path("/root");
do_mounts(cmdc, cmdv);
- drop_capabilities(get_arg(cmdc, cmdv, "drop_capabilities="));
-
if (mnt_procfs) {
umount2("/proc", 0);
mnt_procfs = 0;
@@ -305,7 +303,9 @@ int main(int argc, char *argv[])
init_argv[0] = strrchr(init_path, '/') + 1;
- errmsg = run_init("/root", "/dev/console", init_path, init_argv);
+ errmsg = run_init("/root", "/dev/console&...
2002 Sep 23
3
How to automate SMBMNT
Hi there,
How do I automate smbmnt so that when logging on, it mounts the required
shared directories on an NT4.0 file system using the user name and
password I used t gain access to the GUI ?
I s this possible. I am currently running Network Neighborhood and have
been using this application for access but this requires that I scan
mount and log-on again before gaining access to that share.
2011 Aug 03
1
[PATCH v2] kinit: Add drop_capabilities support.
...t/kinit.c
index 4a1f40b..098873b 100644
--- a/usr/kinit/kinit.c
+++ b/usr/kinit/kinit.c
@@ -288,6 +288,8 @@ int main(int argc, char *argv[])
check_path("/root");
do_mounts(cmdc, cmdv);
+ drop_capabilities(get_arg(cmdc, cmdv, "drop_capabilities="));
+
if (mnt_procfs) {
umount2("/proc", 0);
mnt_procfs = 0;
diff --git a/usr/kinit/kinit.h b/usr/kinit/kinit.h
index c2e67b7..85960d8 100644
--- a/usr/kinit/kinit.h
+++ b/usr/kinit/kinit.h
@@ -65,4 +65,6 @@ static inline void dump_args(int argc, char *argv[])
}
#endif
+int drop_capabilities(const char *caps);
+...
2016 Jul 09
4
Option configure
Hello,
Am 09.07.2016 um 09:14 schrieb Rowland penny:
>> What is the purpose of the option
>> *
>> **--with-**systemd**
>> ****Enable****systemd****integration*
>>
>> To configure Samba (build).
>>
>
> It is there so that there is also the '--without-systemd' option.
>
> one turns on systemd integration, the other (thank your deity)
2020 Mar 27
2
[PATCH v2 5/5] Clean up clang warnings
...= 0
};
#endif
#endif
diff --git a/usr/kinit/initrd.c b/usr/kinit/initrd.c
index 7eece2ce5488..5833f2f2c01f 100644
--- a/usr/kinit/initrd.c
+++ b/usr/kinit/initrd.c
@@ -153,7 +153,7 @@ static int run_linuxrc(int argc, char *argv[], dev_t root_dev)
int olddev = open(ramdisk_name, O_RDWR);
umount2("/old", MNT_DETACH);
if (olddev < 0 ||
- ioctl(olddev, BLKFLSBUF, (long)0) ||
+ ioctl(olddev, BLKFLSBUF, 0) ||
close(olddev)) {
fprintf(stderr,
"%s: Cannot flush initrd contents\n",
diff --git a/usr/kinit/ramdisk_load.c b/usr/kinit/ramdisk_l...