ps -o fname,vsz -p `pgrep idmapd`
svcadm restart idmap
sleep 30
ps -o fname,vsz -p `pgrep idmapd`
相当を放り込んどいたけど1日毎に走らせたりするとps意味にゃいかも。/etc/init.d/sfcbd-watchdog restart
をcronに放り込んでおいた。cat /etc/nsswitch.dns > /etc/nsswitch.conf
pfexec pkg install SUNWipkg
pfexec pkg image-update
init 6
format
HDDその1に2ndパーティション作る。
zpool create -f pool1 c8t0d0p2 c8t1d0 c8t2d0 c8t3d0 c8t4d0 c8t5d0
容量違うけど無視
zpool list
zpool status
zfs create -o atime=off -o casesensitivity=mixed -o compression=on -o snapdir=visible -o aclmode=passthrough -o aclinherit=passthrough pool1/share
zfs set sharenfs=on pool1/share
vi resolv.conf
share
chmod 777 /pool1/share
pkg install SUNWsmbskr
pkg install SUNWsmbs
svcadm enable -r smb/server
zfs set sharesmb=on pool1/share
zfs set sharesmb=name=share pool1/share
echo set nfs:nfs_allow_preepoch_time = 1 >> /etc/system
echo set nfs:nfs3_max_threads = 32 >> /etc/system
echo set nfs:nfs3_nra = 32 >> /etc/system
echo set zfs:zil_disable = 1 >> /etc/system
echo set zfs:zfs_nocacheflush = 1 >> /etc/system
sharemgr show -vp
ntpdate pool.ntp.org
vi resolv.conf
reboot
smbadm join -w WORKGROUP
echo other password required pam_smb_passwd.so.1 nowarn >> /etc/pam.conf
passwd 既存ユーザ(smbpasswd相当)
若しくは
smbadm join -u domain_admin DOMAIN
svcadm disable smb/server
svcadm enable -r smb/server
chmod -R A=owner@:full_set:fd:allow /pool1/share
chmod -R A+group@:full_set:fd:allow /pool1/share
chmod -R A+everyone@:read_set:fd:allow /pool1/share
とまぁこんにゃ感じでやってみたんだけど、あまりに勝手が違ってよく分からにゃい。