deljatt
January 20, 2012, 10:23am
1
Hi..I have installed Solaris 5.10 update 9 with ZFS system with RAID1. It is to be integrated with SAN which is UFS and . It is getting mounted but when i am rebooting server,it is getting removed from system.
Pls let me know what all step need to follow for this.
Thanks !!
Did you add the SAN filesystem to /etc/vfstab?
deljatt
January 20, 2012, 10:43am
3
Yes..entry is their but when we reboot mount point is not available.
Can you post the exact entry you're using on your vsftab file?
deljatt
January 20, 2012, 10:53am
5
# cat /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/zvol/dsk/rpool/swap - - swap - no -
/devices - /devices devfs - no -
sharefs - /etc/dfs/sharetab sharefs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes -
#/dev/dsk/c2t3d0s0 /dev/rdsk/c2t3d0s0 /slots/u01 ufs 0 yes -
should be more like this:
# cat /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/zvol/dsk/rpool/swap - - swap - no -
/devices - /devices devfs - no -
sharefs - /etc/dfs/sharetab sharefs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes -
/dev/dsk/c2t3d0s0 /dev/rdsk/c2t3d0s0 /slots/u01 ufs 0 yes -
ZFS doesn't make use of /etc/vfstab.
A SAN is providing devices, not file systems so your statement about ufs is confusing. Can you clarify what you are doing ?
Especially, what says:
zpool status
?
deljatt
January 20, 2012, 11:06am
8
i have done this change as well...both it doesnt show after reboot
Can you post exact command that you use to mount that filesystem manually?
deljatt
January 20, 2012, 11:26am
11
san give ufs file system as when i type
fstype <device> it gives it as UFS...
Zpool status is mirror and online for all.
---------- Post updated at 11:25 AM ---------- Previous update was at 11:23 AM ----------
mount -F ufs /<san drive> /<mount point>
---------- Post updated at 11:26 AM ---------- Previous update was at 11:25 AM ----------
mount -F ufs /<san drive> /<mount point>
@deljatt
it is hard to help if you don't do what you've been asked to do...
i don't think that is the command you used... that is how the command SHOULD be used.
mount -F ufs /<san drive> /<mount point>
and the output of:
zpool status
can not be:
Zpool status is mirror and online for all.
if you need help, please post the output you've been asked for or i will close this thread!
deljatt
January 20, 2012, 11:42am
13
# zpool status
pool: mpool
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
c1t0d0s0 ONLINE 0 0 0
c1t1d0s0 ONLINE 0 0 0
errors: No known data errors
pool: mpool1
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
mpool1 ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
c1t0d0s7 ONLINE 0 0 0
c1t1d0s7 ONLINE 0 0 0
errors: No known data errors
Deljatt, can you explain with more details what is "removed from the system" and how do you put it back ?
The zpool status output is correct and there is no evidence of any SAN there.
Also, post
zfs list
output.
deljatt
January 20, 2012, 12:08pm
15
do i need to create zpool for that ?
methyl
January 20, 2012, 12:15pm
16
What did you actually type?
In the fstab listing in post #5 the likely line appears to be commented out.
How is this "san drive" physically (or logically?) connected to your Solaris computer?
@Deljatt , can you please explain what is "removed from the system" when you reboot ?