01-14-2011
It lives!
Steps (for my own info, as well as others):
1) At "$" prompt use "su -" or "sudo -s" to get root level "#" prompt (pfexec did not work)
2) # format (displays physical drives to be used in pool), use "control c" to exit format.
3) # zpool create storagepool raidz2 c11t0d0 c11t1d0 c11t2d0 c11t3d0 c11t4d0 c11t5d0 (creates a raidz2 virtual device named "storagepool" from physical devices c11t0d0 to c11t5d0)
4) # zfs create -o casesensitivity=mixed storagepool/media (creates a subfolder named media in the folder storagepool)
5)# zfs create -o casesensitivity=mixed storagepool/media/shows (creates a subfolder named shows in media)
6) # chown -R <username> /storagepool (transfers ownership to the user instead of root)
Setting up sharing:
7) # svcadm enable -r smb/server (turns sharing on?)
8) # smbadm join -w WORKGROUP (allows for compatibly with windows workgroup sharing)
9) # echo "other password required pam_smb_passwd.so.1 nowarn" >> /etc/pam.conf (I have no idea) EDIT: Allows the next step (step 10) to edit the file pam.conf to include a new smb password...
10) # passwd username (changes password, not sure why) EDIT: Changes the remote smb password (due to step 9), not the regular local user password.
11) # zfs set sharesmb=name=shows storagepool/shows (shares the folder at storagepool/shows as "shows")
Note that the name "storagepool" is picked by the user and could have been any name at step 3.
The name "media" in step 4 and "shows" in step 5 are also user selected and could be any descriptive word.
Finally the name "shows" in step 11 at name=shows is the user selected shared name which can be different than the local name of the folder.
---------- Post updated at 06:26 AM ---------- Previous update was at 06:24 AM ----------
So now that the ZFS pool is up and running it is time to fill it up with data. I've got a linux external hard drive with the ext2 file system I'd like to plug in and use.
I can't figure out how to mount it, or if it automounts, I can't find the mount point?
It show up as drive 7 after running the format command.
On all the other operating systems I use a new device just pops up and works with a click or two. Even older Linux distros would mount with a simple command like "mount /dev/sda /mnt/sda1" or something like that.
How does one do this type of thing with Solaris 11?
---------- Post updated at 06:55 AM ---------- Previous update was at 06:26 AM ----------
This is the drive I want to mount:
7. c12t0d0 <WDCWD10-EACS-00ZJB0-01.0 cyl 60798 alt 2 hd 255 sec 126>
/pci@0,0/pci1458,5004@12,2/storage@6/disk@0,0
---------- Post updated at 07:07 AM ---------- Previous update was at 06:55 AM ----------
I just tried an 8GB USB memory stick and it automounted real easy.
The drive that does not mount is a 1 TB USB bootable linux with at least 2 partitions, maybe 3 (boot, swap, data). The data partition is ext2.
Any ideas? Thanks in advance!
Last edited by lakedude; 02-08-2011 at 12:57 AM..
Reason: correct font
This User Gave Thanks to lakedude For This Post:
9 More Discussions You Might Find Interesting
1. Solaris
Hi, I am nowusing ZFS since some weeks and now I have 2 questions:
1) in zpool I saw some disk added with the *s2 at the end, I have in mind that should not be ? is this right and if so can I get the *s2 disk out of the zpool ?
2) Zpool has still 2 spare disk but when I try to create a new... (6 Replies)
Discussion started by: manni2
6 Replies
2. Solaris
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
3. UNIX for Advanced & Expert Users
Hello,
I am using Ubuntu Linux and having problems in setting up remote syslogging. Appreciate your help on this.
On the server unix host, I have made following changes.
uncommented following lines in /etc/rsyslog.conf
$ModLoad imudp
$UDPServerRun 514
Now i am trying to run rsyslog in... (0 Replies)
Discussion started by: ravi.videla
0 Replies
4. Solaris
I 'm trying to clone a zfs file system pool/u01 to a new file system called newpool/u01 using following commands
zfs list
zfs snapshot pool/u01@new
zfs send pool/u01@new | zfs -F receive newpool/u01
Its a 100G file system snapshot and copied to same server on different pool and... (9 Replies)
Discussion started by: fugitive
9 Replies
5. Solaris
Short version:
pfexec zpool scrub rpool fails saying I do not have permission to perform that action. Apparently scrub is not one of the pfexec allowed actions. Any idea on how to get around it?
Long version:
I got tired of manually running scrubs and am trying to set it to happen... (4 Replies)
Discussion started by: taltamir
4 Replies
6. Solaris
I have two servers, we'll call them sv1 and sv2.
both are Solaris 11.1 LDOMS running on a T4-4 with RBAC enabled.
my user has zfs allow send, receive on both servers and has ssh keys shared.
on sv2 (the destination) I have a zpool called zones that has no zfs fs built
on sv1 (the source) I... (5 Replies)
Discussion started by: os2mac
5 Replies
7. Solaris
Hello All
I’ve made the decision to switch my storage server from FreeNAS to Solaris. I opted to use FreeNAS as it has ZFS and until BTRFS is stable, it’s the best option (IMHO) for backup and network storage.
The switch was facilitated by the USB stick that FreeNAS was on got lost during a... (1 Reply)
Discussion started by: BlueDalek
1 Replies
8. Proxy Server
Hello,
I am having issues setting the "read-only" flag via Windows Explorer on my AIX Samba share...
I have on my AIX 7.1 system installed Samba 3.6.24 and configured, joined to our Windows domain successfully.
The samba binaries I got from perzl.org/aix
In my smb.conf I have...
... (1 Reply)
Discussion started by: c3rb3rus
1 Replies
9. Shell Programming and Scripting
Hi,
I have set alias rm='rm -i' and i m able to see that in the list of aliases.
however, when i fire the rm command the '-i' interactive flag does not seem to kick in.
I login to a free online terminal and then i say bash to set the bash profile.
Join
Here is the output... (27 Replies)
Discussion started by: mohtashims
27 Replies