I'm trying to unmount a file system, but umount says the device is busy. A fuser -c /myfs tells me that nothing on this fs is in use. Any idea?
Oh, and btw, why isn't my signature beeing displayed? Show user's signature is enabled and I have entered one :/ (10 Replies)
Anyone have any idea why I cannot umount a directory even though fuser shows no process attached to it?
fuser -cu /data/oracle/GMPSHRDM/export
/data/oracle/GMPSHRDM/export:
umount /data/oracle/GMPSHRDM/export
umount: cannot unmount /data/oracle/GMPSHRDM/export : Device busy
umount:... (2 Replies)
Hi,
I'm trying to do a sharity mount to mount a terastation network drive.
I'm getting a Device or resource busy message after my mount command. Please see output below...
# /usr/local/sharity3/bin/sharity mount smb://labbackup01/bakup_data /mnt/labbackup01
Device or resource busy.... (2 Replies)
Ciao a tutti!!!
il mio problema è questo: sto cercando di inviare dei comandi AT da PC a cellulare utilizzando il bluetooth e cygwin e vorrei visualizzare le risposte nella shell bash. Per farlo apro due terminali utilizzando le seguente istruzioni:
xterm &
Sul primo scrivo
cat /dev/ttyS2
... (0 Replies)
Ciao a tutti!!!
il mio problema è questo: sto cercando di inviare dei comandi AT da PC a cellulare utilizzando il bluetooth e cygwin e vorrei visualizzare le risposte nella shell bash. Per farlo apro due terminali utilizzando le seguente istruzioni:
xterm &
Sul primo scrivo
cat /dev/ttyS2
... (1 Reply)
Hello!!!
My problem is: i'm trying to send At commands from Pc to mobile phone using bluetooth and cygwin and i would like to read the device's answers on the shell bash. And so, i open two terminals in this way:
xterm &
In the first i write:
cat /dev/ttyS2
because the device is... (9 Replies)
hello to everybody
I have Ubuntu Lucid 10.04 installed on my Desktop and I have a PCI serial card in my computer and it has only one serial port.
Actually I want to use this serial port for the serial communication and for that I executed this command :
$ setserial -g /dev/ttyS
and I... (0 Replies)
Hi Everyone,
I am trying to remove a directory:
$ rm -rf directory_name/
rm: cannot remove `directory_name/filename': Device or resource busy
What does this mean, and why can't I remove these files? I already tried moving into the directory, and removing the files individually, but I... (7 Replies)
Hi,
Unable to make tape backup, please help.
/opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00
* Creating local directories for configuration files and archive.
======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery.
(Mon... (4 Replies)
mount -f nfs 1234:/export/ert /der/fr/ert
mount : /der/fr/ert: device busy
normally I will then do an
fuser filesystem
and kill the pids, which I did.
now if I do an fuser /der/fr/ert
I get the mount point and no pid
> fuser /der/fr/ert
/der/fr/ert:
but it... (1 Reply)
Discussion started by: goya
1 Replies
LEARN ABOUT FREEBSD
swapoff
SWAPON(8) BSD System Manager's Manual SWAPON(8)NAME
swapon, swapoff, swapctl -- specify devices for paging and swapping
SYNOPSIS
swapon [-F fstab] -aLq | file ...
swapoff [-F fstab] -aLq | file ...
swapctl [-AghklmsU] [-a file ... | -d file ...]
DESCRIPTION
The swapon, swapoff and swapctl utilities are used to control swap devices in the system. At boot time all swap entries in /etc/fstab are
added automatically when the system goes multi-user. Swap devices use a fixed interleave; the maximum number of devices is unlimited. There
is no priority mechanism.
The swapon utility adds the specified swap devices to the system. If the -a option is used, all swap devices in /etc/fstab will be added,
unless their ``noauto'' or ``late'' option is also set. If the -L option is specified, swap devices with the ``late'' option will be added
as well as ones with no option. If the -q option is used, informational messages will not be written to standard output when a swap device
is added.
The swapoff utility removes the specified swap devices from the system. If the -a option is used, all swap devices in /etc/fstab will be
removed, unless their ``noauto'' or ``late'' option is also set. If the -L option is specified, swap devices with the ``late'' option will
be removed as well as ones with no option. If the -q option is used, informational messages will not be written to standard output when a
swap device is removed. Note that swapoff will fail and refuse to remove a swap device if there is insufficient VM (memory + remaining swap
devices) to run the system. The swapoff utility must move swapped pages out of the device being removed which could lead to high system
loads for a period of time, depending on how much data has been swapped out to that device.
Other options supported by both swapon and swapoff are as follows:
-F fstab
Specify the fstab file to use.
The swapctl utility exists primarily for those familiar with other BSDs and may be used to add, remove, or list swap devices. Note that the
-a option is used differently in swapctl and indicates that a specific list of devices should be added. The -d option indicates that a spe-
cific list should be removed. The -A and -U options to swapctl operate on all swap entries in /etc/fstab which do not have their ``noauto''
option set.
Swap information can be generated using the swapinfo(8) utility, pstat -s, or swapctl -l. The swapctl utility has the following options for
listing swap:
-h Output values in human-readable form.
-g Output values in gigabytes.
-k Output values in kilobytes.
-m Output values in megabytes.
-l List the devices making up system swap.
-s Print a summary line for system swap.
The BLOCKSIZE environment variable is used if not specifically overridden. 512 byte blocks are used by default.
FILES
/dev/{ada,da}?s?b standard paging devices
/dev/md? memory disk devices
/etc/fstab ASCII file system description table
DIAGNOSTICS
These utilities may fail for the reasons described in swapon(2).
SEE ALSO swapon(2), fstab(5), init(8), mdconfig(8), pstat(8), rc(8)HISTORY
The swapon utility appeared in 4.0BSD. The swapoff and swapctl utilities appeared in FreeBSD 5.1.
BSD November 22, 2013 BSD