Linux Scroll

Just another WordPress.com site

Solaris mount failed: Device busy

Show current ZFS mounting:

# zfs mount

Force unmount ZFS:

# umount -f /zones/zone_name/mount/point

Mount from Global zone to non-global zone:

# mount -F zfs server/share /zones/zone_name/mount/point

mount failed: Device busy

Use ps to search what process is running on mount point:

# ps -ef | grep /mount/point | grep -v grep

user 5822 5706 0 22:02:52 pts/2 0:00 -sh
# kill -9 5822

Remount ZFS again:

# mount -F zfs server/share /zones/zone_name/mount/point

Mount legacy mount point:

# zfs set mountpoint=legacy server/share

# mount -F zfs server/share /zones/zone_name/mount/point
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: