General :: Simple Way To Umount NFS Mount In System?

Oct 25, 2010

I've mounted a share using standard nomenclature for the NFS mount command with the following command line:

mount -t nfs -o rw {IP address1}:/ /mnt_for_70 / {IP address2}(rw)

mnt_for_70 is a mount point I created on {IP address2}

I'm confuse and want to be sure I use the correct command on the correct host to correctly umount the nfs share.

Would I execute umount /mnt_for_70 on {IP address2}

Not sure if such a simple command will work. As this is a semi-production host pair, I hesitate to just umount so simply & I have no test systems to try this on...

View 2 Replies


General :: Script - Hook Into System Mount / Umount Event?

Mar 27, 2010

Is there a way to provide post-mount and pre-umount scripts in Linux?
I am trying to do some scripts on storage media when mounted and before umounting (eg, for syncing).

View 3 Replies View Related

General :: Mount And Umount As User Without Fstab?

Jul 19, 2011

I am writing this software that creates virtual block device nodes almost like loop does. I need to allow non-superusers to mount and umount filesystems from these devices. I don't know the names of the block device nodes beforehand so i can't use fstab entries to add "user" or "owner" flags there.

Currently i solve this by providing a small suid helper tool that verifies that this is indeed "my" block device the user is trying to mount and then just call /sbin/mount or /sbin/umount to do the job. This is definitely better than setting a suid bit for the whole program but not really perfect.

View 1 Replies View Related

Programming :: Mount/umount Operations In C Program?

Feb 9, 2011

I need to do mount/umount operations in my c program. But my program can only be run under normal user. However, the user who run my program have sudo priviledges to do mount/umount operations. How can i apply the sudo privileges in the mount(2) system call?

View 6 Replies View Related

General :: How To Umount "/" File System

Jun 3, 2011

I want to umount root partition. below is the o/p for df -h

Filesystem Size Used Avail Use% Mounted on
/dev/sda1 12G 3.2G 7.8G 30% /
tmpfs 506M 0 506M 0% /dev/shm

If i give #umount /dev/sda1 im getting the below error.i can't unmount the file system

umount: /: device is busy
umount: /: device is busy

View 14 Replies View Related

Debian Configuration :: Can't Umount Ramdisk After Loading New Root File System

Feb 1, 2010

I have built a kernel with a ramdisk(ramdisk.image.gz) included. Also in the kernel command line I specified root=/dev/ram0. I am trying to use this ramdisk to load a loopback file as the root filesystem off a fat partition. This is /sbin/init from the ramdisk.

mount -n -t msdos /dev/mmcblk0p1 /mnt
losetup /dev/loop0 /mnt/linux/linuxdsk.img
mount -t ext2 /dev/loop0 /mnt2


The problem is both umount and blockdev report "device is busy". I want to free up this RAM any suggestions?

View 1 Replies View Related

OpenSUSE :: Dolphin Services - Get Mount / Umount Option Under Right Click Services Menu

Dec 7, 2010

So I want to get mount/umount option under right click services menu. I went to Dolphin -> Settings -> Configure Dolphin -> Services -> Download New Services and from there I installed KDE CDEmu Emulator and MountISO. But neither of them is showing up in actual context menu. Neither in Dolphin -> Settings -> Configure Dolphin -> Services for that matter. I tried to install them as normal user and as a root. I went to have a peak in /usr/share/kde4/services/ServiceMenus/ but they aren't there as well... It's just me or lots of things seems to be not quite working in 11.3?

View 9 Replies View Related

Slackware :: Sudo: Umount Works, Mount Not Works?

Jul 8, 2010

I've got a problem in doing sudo working for mounting things (e.g. usb pen or optic discs). Details:The OS: Slackware 13.0The response to sudo -l command:

User user1 may run the following commands on this host:
root) /sbin/shutdown -h now, /sbin/shutdown -r now


View 3 Replies View Related

General :: Make Simple Website In System Using Bash Scripting?

Apr 3, 2011

How to made a simple website in linux using bash scripting.

View 3 Replies View Related

General :: Logged In My System As Root - Run A Simple Shell Script - Permission Denied ?

Jan 27, 2011

I logged in my system as root. but when i run a simple shell script i got an error like . Permission Denied. why m getting this error.

View 3 Replies View Related

General :: Cannot Umount Volume / Get It To Work?

Dec 15, 2010

I am using ubuntu8.04 and i am not able to umount my usb using unmount option even as root on command line.
If i try the same using mouse right click, it showing error mesage as follows. "Cannot unmount volume. The volume 'STEEVEN_1' was probably mounted manually on the command line. Details: Device to unmount is not in /media/.halmtab so it is not mounted by HAL."
usb label is appearing even after the unmouting the usb manually.
next time mounting adding another hyphen to the usb label as follows.
steeven_1, steeven_1_, steeven_1__, steeven_1___ etc.

View 2 Replies View Related

Slackware :: USB Flash Drive Mount When Simple User - Can't Open With File Manager

Aug 22, 2010

I always have a problem in simple user mode when I insert a USB key. Can't mount, can't open with file manager. I'm obliged to open a simultaneous root session, to do what I want to manage the usb key.

In my user manager, I don't know wich group I have to add to this simple user (it's me) so I am allowed to manage the usb key.

View 6 Replies View Related

General :: Mount Cruzer Blade 16GB On "Unable To Mount 16GB File System"?

Aug 8, 2011

hen i try to mount Cruzer Blade 16GB on Ubuntu Im told that "Unable to mount 16GB file system Not authorized.@

View 15 Replies View Related

Server :: Simple Mirroring Networked File System?

Apr 8, 2010

I have two web servers. One is active and one is in reserve. I keep the user data (web pages) in sync by running rsync every 10 minutes or so. This copies any changes from the active machine to the reserve machine. But, it's slow, only gets changes every 10 minutes, bogs down the disk, does strange things to files that are changing during the rsync process etc...

I want something that will automatically copy any changes from the active server to the reserve server as they are made. IE I hit 'save' on the active server, it copies the file to the reserve server. Simple!

I've been looking around and I see GFS which is really vastly more complicated than I need. I'm happy with read-only access on the reserve host, so I don't need distributed lock management.

I could theoretically implement this by setting inotify watchers on every file and running an SCP or rsync command when a file gets saved. So, it can't be that hard.

I do not need a true networked file system, as in something I mount over the network. I just want something to keep my disks in sync.

View 3 Replies View Related

Slackware :: What Is The Most Streamlined And Reliable, Simple, Rock Solid System?

Jan 20, 2010

I would like to ask your opinion on what is the most streamlined and reliable, simple, rock solid system :1.) OpenSolaris2.) Slackware3.) FreeBSDMy personal opinion is that Slackware is the best......but I want to know other's opinions, since, i know nothing on OpenSolaris, and FreeBSD.

View 14 Replies View Related

General :: Can't Mount Root File System

Apr 6, 2011

I am getting an error while booting my linux system: Can't mount root file system.Boot has failed, sleeping forever.OS is Red hat enterprise linux 6, With Intel P4, 1 GB Ram, 120 GB IDE hdd seagate. it was working fine from last 4 days. from today morning this is giving error. only mysql & apache is installed in it.
please suggest is there any way to repair the root & boot volumes. waiting for valuable reply.

View 2 Replies View Related

General :: Mount Windows Partion In System?

Sep 29, 2010

I am using dual booting windows and redhat linux and i want to some datas from windows to linux

how to mount windows partion in linux

View 4 Replies View Related

General :: How To Mount USB Pen Drive On RHEL3 System

Sep 29, 2010

I want to know how to mount the usb pen drive in redhat linux box . This redhat 3 version.

View 6 Replies View Related

General :: Mount Ntfs File System?

Feb 17, 2010

how can i mount ntfs file system in linux

View 3 Replies View Related

General :: Mount A Filesystem When The System Boots?

Dec 21, 2009

I'm trying to mount a filesystem when the system boots, so i won't need to mount it everytime..

So what I did was copying the line of the filesystem I wanted to mount on startup from /etc/mtab:


And pasted it as it is, in the /etc/fstab file. when the system booted, it didn't work. not only that, I wasn't able to mount the filesystem at all, (it gave me some kind of an error) so I removed the line from fstab file and it all back to normal. how can I mount this filesystem on boot? (i'm using Fedora 12)

View 10 Replies View Related

General :: NAS Mount Points Not Visible On System

Apr 18, 2011

Coming from non linux bod - but to create mount points on nas that are visible do we have to put entries in both fstab and rc.local?

View 1 Replies View Related

Programming :: How To Compile / Simple Tutorial For Making Simple Program

Oct 7, 2010

i'm a college student studying pc programing, and i was given today a special work and i have to program using miranda... which i've never used it >.< can anyone give me a hand to where to download, how to compile, and a simple tutorial for making a simple program or something?

View 3 Replies View Related

OpenSUSE Network :: Nfs Server On 11.2 - Mount.nfs: Mount System Call Failed

Apr 29, 2010

I've tried to get an opensuse box I have to share a directory via NFS. I've failed each time, but I thought that the third time, I'd enlist some help from the forums, if I could. how do I know that the nfs server and not the client is the problem? Short answer is: I don't! That's why nfs (and many netwrk problems) are laborious, you're troubleshooting needs to take place at both source and desitination. Next question, what do I have set up so far? Well, I did download the nfs server kernel stuff (two months back) and /etc/init.d/nfsserver start seems to get set up OK. No errors and the daemons nfsd, idmapd, mountd area all running. So, I *think* that part is OK. I have the share set up properly in /etc/exportfs and have "exportfs -r" it.

OK, now onto the trickier stuff: the client and iptables. On the client pinging to the nfserver box is perfect, and I have rpcbind running. the reported error is "mount.nfs: mount system call failed" though from experience nfs errors don't mean a whole lot.However, I will go off and check now and see if I need a mountd running on client-side too.Then there's iptables .... ouch, that could be a long and painful trek. I don't see any specific ports being blocked, and it's the iptables that the default v11.2 opensuse came with. I did turn them off and the problem was the same, so whether wishfl thinking or not, I'm hoping it's not an iptables issue.

View 9 Replies View Related

Programming :: Simple Example Document For Adding A System Call On Fedora 14 Kernel?

Nov 20, 2010

Does anyone have straightforward simple example document for adding a system call on fedora 14 kernel?

View 12 Replies View Related

General :: Ubuntu - Mount Ftp Host In File System?

Nov 29, 2010

I tried curlftpfs and can copy files etc., but opening media files in totem or vlc fails with read errors.I'd try to use gvfs-mount instead, but don't know how to pass an option similar to custom_list="LIST" which tells curlftpfs to use LIST instead of LIST -a.

View 1 Replies View Related

General :: Cant Mount Partition With System Rescue Live Cd

Nov 1, 2010

Im using the System Rescue live cd to try and Clamscan a partition on my internal HD, but I cant mount /dev/sda3 (my home partition).

I use this commandline (as root):

mount -t ext3 /dev/sda3 mountpoint

but it just hangs, and then gives an error.

View 6 Replies View Related

General :: Mount A File System (/dev/sdb) As Ext3 (rw,acl,user_xattr)?

Jul 15, 2009

I'm trying to mount a second hard drive as a ext3 (rw_acl,user_xattr). I type the ff.:

# mkfs.ext3 -c /dev/sdb1(it seems to create a file system from this 2nd HD)

then type:

# mount -v /dev/sdb1 / type ext3 (it seems to mount it)

But when I check the ext3 systems with typing:

# mount -t ext3 (to check the list of ext3 devices, it gives me this)
/dev/sda1 on / type ext3 (rw,acl,user_xattr)
/dev/sda2 on /home type ext3 (rw,acl,user_xattr)
/dev/sdb1 on / type ext3 (rw)

How can I make /dev/sdb1 on type ext3 as (rw,acl,user_xattr) as the others?

View 11 Replies View Related

CentOS 5 Server :: FreeRadius Simple Shadow / Passwd UNIX System Authentication

Nov 7, 2010

Its 2 weeks i'm trying to configure freeradius2 on centos5 64bit after installed it from yum.all seems working, but i cant authenticate unix users.after digging in many sites its simply cant find user name and password ( ++[unix] returns notfound )Also how can i paste here all the radiusd -X log lines? i can't find any
radius.log file.

View 10 Replies View Related

General :: Boot From USB And Independently Of Host System Mount Pen Drive

Feb 16, 2010

I've for quite a while been going forward with making my own linux system with a purpose of being USB bootable. A lot of it has been taken from LFS and molded to my needs. The purpose of this is to, most of all, learn. My aim is to have a small linux system, bootable on most systems and able to run burnintest in textmode. This will be run of a vfat formatted pen drive with syslinux. The rootfs is run from a ext2 image file. My current image is bootable and is able to run burnintest, I do however still have some polishing to do.

I began this project by using uClibc and my image would be tiny enough to be run from a single initrd (20mb ~). What I didn't consider is the fact that burnintest is pre compiled using glibc, so had to re-do everything with a different c library.. After doing this I realized i no longer would be able to boot simply from ram as loading ~80mb to ram takes quite a lot of time during boot. I'd really like to keep the rootfs in an image file for easier management and I so far haven't found a way to mount this roofs image.

View 1 Replies View Related

General :: Filesystems - Where To Find A Description Of File System Mount Options

Aug 28, 2010

Is there some file in Linux that enumerates and describes mount options for file systems like /etc/services describes ports?

View 2 Replies View Related

Copyrights 2005-15, All rights reserved