Sponsored Content
Full Discussion: ZFS mount point - problem
Operating Systems Solaris ZFS mount point - problem Post 302329154 by mgmk.84 on Friday 26th of June 2009 05:01:54 AM
Old 06-26-2009
Error ZFS mount point - problem

Hi,
We are using ZFS to take the sanpshots in our solaris 10 servers. I have the problem when using ZFS mount options.

The solaris server we are used as,

SunOS emch-mp89-sunfire 5.10 Generic_127127-11 sun4u sparc SUNW,Sun-Fire-V440Sys
tem = SunOS

Steps:
1. I have created the zfs pool named as lmspool
2. Then created the file system lmsfs
3. Now I want to set the mountpoint for this ZFS file system (lmsfs) as "/opt/database" directory (which has some .sh files).
4. Then need to take the snapshot of the lmsfs filesystem.
5. For the mountpoint set, I tried two ways.
1. zfs set mountpoint=/opt/database lmspool/lmsfs
it returns the message "cannot mount '/opt/database/': directory is not empty
property may be set but unable to remount filesystem".
If I run the same command in second time, the mount point set properly and then I taken the snapshot of the ZFS filesystem (lmsfs). After done some modification in the database directory (delete some files), then I rollback the snapshot but the original database directory was not recovered. :-(

2. In second way, I used the "legacy" option for mounting.
# zfs set mountpoint=legacy lmspool/lmsfs
# mount -F zfs lmspool/lmsfs /opt/database
After run this command, I cant able to see the files of the database directory inside the /opt. So I cant able to modify anything inside the /opt/database directory.

Please someone suggest me the solution for this problem. or anyother ways to take the ZFS snapshot with mounting point in UFS file system?..

Thanks,
Muthukrishnan G
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mount point

hi people, I'm trying to create a mount point, but am having no sucess at all, with the following: mount -F ufs /dev/dsk/diskname /newdirectory but i keep getting - mount-point /newdirectory doesn't exist. What am i doing wrong/missing? Thanks Rc (1 Reply)
Discussion started by: colesy
1 Replies

2. UNIX for Dummies Questions & Answers

auto mount point

hi can i know what is the command to create auto mount point in my unix server? is there any directory which i have to go? (1 Reply)
Discussion started by: legato
1 Replies

3. UNIX for Dummies Questions & Answers

concept of mount point

Hi All I Know it is a really basic and stupid question perhaps...But I am going bonkers.. I have following valid paths in my unix system: 1. /opt/cdedev/informatica/InfSrv/app/bin 2. /vikas/cdedev/app Both refer to the same physical location. So if I created one file 'test' in first... (3 Replies)
Discussion started by: Vikas Sood
3 Replies

4. AIX

Creating a new mount point

Hello, I have an AIX Oracle database server that I need to create a new filesystem/mount where I can create a new ORacle home to install 11g on. What are the needed steps to create this? There are mounts for Oracle 9i and 10g already. Thank you. - David (7 Replies)
Discussion started by: dkranes
7 Replies

5. Solaris

Size of Mount Point

Hi, On Solaris 5.10, I have a following mount point: /dev/dsk/emcpower0a 492G 369G 118G 76% /u02 In /u02, from the du -h command, I can see that only 110G is used by couple of directories. I am wondering where the rest of 259G has gone? Any ideas please? How can I check... (17 Replies)
Discussion started by: fahdmirza
17 Replies

6. Red Hat

NFS mount point problem

Hi Forum I am trying to mount /NFS as nfs mountpoint on two servers ( A & B ). After mounting the nfs filesystem, both of them behave normally for around 10 mins and after that the NFS file handle become stale and the mountpoints dont respond. While executing df -kh, the output hang out and the... (15 Replies)
Discussion started by: rajdasuwal
15 Replies

7. Solaris

what is the use of setting canmount=noauto in zfs mount point?

while using oracle solaris live upgrade it is mentioned to set few mountpoints like that.. what is the point doing that. (1 Reply)
Discussion started by: chidori
1 Replies

8. Red Hat

Regarding NFS mount point

Dear All, We have two different mount points in Linux NFS one is 15 TB and another one is 15 TB. Can we club both of the two mount points and club in to a single volume in Linux. As we need to restore Database in that single volume. Kindly help us on this. Regards , rj (10 Replies)
Discussion started by: jegaraman
10 Replies

9. AIX

How to change the mount point of LV?

I have situation where my disk upon reboot, has its mount point as # LOGICAL VOLUME: disk4vol VOLUME GROUP: disk4vg LV IDENTIFIER: 00f609aa00004c0000000152414b786c.1 PERMISSION: read/write VG STATE: active/complete LV STATE: closed/syncd TYPE: jfs2 WRITE VERIFY: off MAX LPs: 512 PP SIZE: 512... (1 Reply)
Discussion started by: mrmurdock
1 Replies

10. UNIX for Beginners Questions & Answers

How to create a new mount point with 600GB and add 350 GBexisting mount point? IN AIX

How to create a new mount point with 600GB and add 350 GBexisting mount point Best if there step that i can follow or execute before i mount or add diskspace IN AIX Thanks (2 Replies)
Discussion started by: Thilagarajan
2 Replies
HALEVT-MOUNT(1) 					      General Commands Manual						   HALEVT-MOUNT(1)

NAME
halevt-mount/halevt-umount - Mount or umount device through HAL SYNOPSIS
halevt-mount [options] [-w] mountpoint|device|udi halevt-mount [options] <-c | -r> <-a | mountpoint | device | udi> halevt-mount [options] <-l | -s> halevt-umount [options] < -a | mountpoint | device | udi> DESCRIPTION
halevt-mount Mount or umount device through HAL and keep a track of devices handled. When called as halevt-umount the default is to unmount, when called as halevt-mount the default is to mount. Option -c, -l, -r, -s or -w changes the operation performed. Additional argument is considered to be a mount point, a device or an udi when unmounting or removing. If the commands are not called with -s after changes in the state of the devices (after mounting, unmounting, removing devices), the infor- mation available for halevt-mount and halevt-umount may become out of sync with the state of the system. When run as user halevt (or as root), no uid= argument is passed to HAL when mounting, otherwise this option is passed, if the filesystem allows it. OPTIONS
-a When listing, list all the existing devices. For the other operations, perform the operation on all the handled devices. -c Remove the handled device. -d device Use device device. -f file Use file file to store information about the handled devices instead of the default. -h Help message and options summary. -i directory Use lock file and device information file in the directory directory (if they are not already specified). -l List handled devices. Formatted with, on each line, udi:device:mountpoint. -p mountpoint Use mountpoint mountpoint. -m umask Set mount umask to umask if run as a system user, and the filesystem supports it. -n file Use file file as lock file. -o option Add the option option to the mount call. -r Umount. -s Sync the information about the handled devices with the informations known by HAL. -u udi Use udi udi. -w Add to the handled devices. SEE ALSO
halevt(1), gnome-mount(1), pmount(1) VERSION
This is halevt-mount version 0.1.6.2. AUTHOR
Main author is Patrice Dumas pertusus at free dot fr. AVAILABILITY
The latest version of this program can be found at: http://www.nongnu.org/halevt/ COPYRIGHT
Copyright (C) 2007-2008 Patrice Dumas <pertusus at free dot fr>, There is NO warranty. You may redistribute this software under the terms of the GNU General Public License; either version 2 of the License, or (at your option) any later version. For more information about these matters, see the file named COPYING. 7th Edition HALEVT-MOUNT(1)
All times are GMT -4. The time now is 07:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy