Re: [OpenIndiana-discuss] Zpool upgrade didn't seem to upgrade

2011-01-20 Thread Edward Martinez

On 01/20/11 05:27, Michelle Knight wrote:

  SSD and HD can not be mixed.

  Regards
  Edward

Apologies, the three drives at the bottom of the list are the 2tb ones.

There's no way I could afford a 2tb SSD on my local government salary!!!

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss



  Hi,


 Are the SSD and the 2tb on the same raid array, maybe, that is what is 
causing the

problems. according to IBM SSD and regular HD cannot be together.

 
http://publib.boulder.ibm.com/infocenter/powersys/v3r1m5/index.jsp?topic=/p7hal/iphalssdconfig.htm


"SSD and HDD can never be mixed in the same RAID array or mirroring group."


regards
Edward

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Can anyone recommend an external SATA card?

2011-01-20 Thread Robin Axelsson
When it comes to Marvells chips it some of them work on OSOL/OI and some 
of them don't. Look into the OpenSolaris HCL, if it 
signed/certified/native than it's fine but if it merely says "reported 
to work" I would be careful about it. I would not recommend anyone using 
JMicron controller chips as I have had tons of problems with them on 
several different motherboards. There are drivers for them in OSOL/OI 
but they are nothing but trouble.



On 2011-01-20 23:09, Michelle Knight wrote:

Hi Willard,

Thank you for those links. I've had a look through and it is interesting that
the cheaper cards are Marvell, though based on .

The card I've got problems with is based on the Marvell 9128 chipset.

Do you think I could run in to trouble?

Michelle.

On Thursday 20 January 2011 21:36:50 Willard Korfhage wrote:

Here are some references to good cards:

  From 16 to 2 ports: Ideal SATA/SAS Controllers for ZFS&  Linux MD RAID
http://blog.zorinaq.com/?e=10

Some discussion that followed the blog posting
http://opensolaris.org/jive/thread.jspa?messageID=480925

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss




___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Can anyone recommend an external SATA card?

2011-01-20 Thread Robin Axelsson
Unfortunately I don't know the UK market but I'm not impressed by the 
prices scan.co.uk have on their HBA cards after looking into their page. 
You could also look at the" esata-4-8-port..." section as there are a 
few more viable alternatives. From this list an LSI based 8-port card is 
cheaper than a 4-port card. If I were to buy from this seller I would go 
for the SASUC8I card (search it on the website). There must be some kind 
of a price comparison website where you live, no? Since you want to go 
for internal cards here's a list of them you can search for:


LSI SAS 3041E-R
LSI SAS 3081E-R
LSI-SAS 9211-4i
LSI-SAS 9211-8i
LSI-SAS 9201-16i

Cisco LSI SAS 30813ER SAS SATA RAID
Cisco LSI 1064E SAS

Dell PERC 5i/6i

Intel SASUC8I
Intel SASMF8I
Intel SASWT4I

Fujitsu-Siemens S26361-F3257-L8
Fujitsu-Siemens S26361-F3257-L4

Also keep in mind that when getting a SAS card you will need a SAS-> 
SATA fan out cable, (unless there are other for you relevant options for 
connecting SATA drives to SAS HBA which I'm not aware of). It looks like 
this:


http://www.scan.co.uk/products/3ware-cbl-sff8087ocf-10m-sff-8087-to-discrete-forward-breakout-cable

or this

http://www.scan.co.uk/products/highpoint-int-ms-1m4s-internal-mini-sas-to-sata-cable

On some HBAs these cables are included but not all of them, especially 
the cheaper ones. If you want to use a standard issue E-SATA bracket you 
are also likely to need a male -> female SATA adapter to connect it with 
the fan out cable.




On 2011-01-20 22:08, Michelle Knight wrote:

Thanks Greg,

I had written off the previous suggestions of using e-sata interfaces,
because the motherboard sata ports are already fully used.

I hadn't thought of using such interfaces on a PCI-E card. That's actually a
great idea.

Michelle.

I've managed to get a couple of these...
http://www.scan.co.uk/products/akasa-esata-45-ex-internal-sata-to-external-
esata-pci-backplate-adaptor

Hopefully they'll do the job.

All I need now is a card. The problem with many that I'm finding listed, don't
actually list what chipset they are based on, so I'm fishing in the dark.

Anything in this list sound familiar?

http://www.scan.co.uk/Shop/Computer-Hardware/All/HDD-Controllers/SATA-SAS-
eSATA-2-4-Port

Michelle.
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss




___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Can anyone recommend an external SATA card?

2011-01-20 Thread Michelle Knight
I've dug up this one.

http://www.scan.co.uk/products/highpoint-rocketraid-640-%28rr640%29-4-channel-
internal-pci-e-20-x4-to-sata-6gb-s-raid-controller-card#ProductFeatures

Seems to be on the same Marvell 88SE9128 chipset from what I can see.

Anyone any opinions on it please?

More tech info here - 
http://www.mwave.com.au/sku-22080405-
HighPoint_Rocket_RAID_640_Controller_Marvell_88SE9128_SATA_6Gb_s_RAID_Controller
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Can anyone recommend an external SATA card?

2011-01-20 Thread Michelle Knight
Hi Willard,

Thank you for those links. I've had a look through and it is interesting that 
the cheaper cards are Marvell, though based on .

The card I've got problems with is based on the Marvell 9128 chipset.

Do you think I could run in to trouble?

Michelle.

On Thursday 20 January 2011 21:36:50 Willard Korfhage wrote:
> Here are some references to good cards:
> 
>  From 16 to 2 ports: Ideal SATA/SAS Controllers for ZFS & Linux MD RAID
> http://blog.zorinaq.com/?e=10
> 
> Some discussion that followed the blog posting
> http://opensolaris.org/jive/thread.jspa?messageID=480925
> 
> ___
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss@openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Can anyone recommend an external SATA card?

2011-01-20 Thread Willard Korfhage

Here are some references to good cards:

From 16 to 2 ports: Ideal SATA/SAS Controllers for ZFS & Linux MD RAID
http://blog.zorinaq.com/?e=10

Some discussion that followed the blog posting
http://opensolaris.org/jive/thread.jspa?messageID=480925

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Can anyone recommend an external SATA card?

2011-01-20 Thread Michelle Knight

On Thursday 20 January 2011 21:14:58 Alex Smith (K4RNT) wrote:
> If you have a 4x PCI-Express slot available, I highly recommend the 3ware
> 9650.
> 

Ouch. That's a lot of money.
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Can anyone recommend an external SATA card?

2011-01-20 Thread David Brodbeck
On Thu, Jan 20, 2011 at 1:14 PM, Alex Smith (K4RNT)
wrote:

> If you have a 4x PCI-Express slot available, I highly recommend the 3ware
> 9650.
>

Did support for that card get added to the OI kernel? It's a good card, but
last I saw it was only supported by the proprietary 3ware driver, and
OpenSolaris support with their drivers has been pretty spotty.

-- 
David Brodbeck
System Administrator, Linguistics
University of Washington
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Can anyone recommend an external SATA card?

2011-01-20 Thread Alex Smith (K4RNT)
If you have a 4x PCI-Express slot available, I highly recommend the 3ware 9650.

On Thu, Jan 20, 2011 at 16:08, Michelle Knight  wrote:
>> Thanks Greg,
>>
>> I had written off the previous suggestions of using e-sata interfaces,
>> because the motherboard sata ports are already fully used.
>>
>> I hadn't thought of using such interfaces on a PCI-E card. That's actually a
>> great idea.
>>
>> Michelle.
>
> I've managed to get a couple of these...
> http://www.scan.co.uk/products/akasa-esata-45-ex-internal-sata-to-external-
> esata-pci-backplate-adaptor
>
> Hopefully they'll do the job.
>
> All I need now is a card. The problem with many that I'm finding listed, don't
> actually list what chipset they are based on, so I'm fishing in the dark.
>
> Anything in this list sound familiar?
>
> http://www.scan.co.uk/Shop/Computer-Hardware/All/HDD-Controllers/SATA-SAS-
> eSATA-2-4-Port
>
> Michelle.
> ___
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss@openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>



-- 
" ' With the first link, the chain is forged. The first speech
censured, the first thought forbidden, the first freedom denied,
chains us all irrevocably.' Those words were uttered by Judge Aaron
Satie as wisdom and warning... The first time any man's freedom is
trodden on we’re all damaged." - Jean-Luc Picard, quoting Judge Aaron
Satie, Star Trek: TNG episode "The Drumhead"
- Alex Smith (K4RNT)
- Falls Church, Virginia USA

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Can anyone recommend an external SATA card?

2011-01-20 Thread Michelle Knight
> Thanks Greg,
> 
> I had written off the previous suggestions of using e-sata interfaces,
> because the motherboard sata ports are already fully used.
> 
> I hadn't thought of using such interfaces on a PCI-E card. That's actually a
> great idea.
> 
> Michelle.

I've managed to get a couple of these...
http://www.scan.co.uk/products/akasa-esata-45-ex-internal-sata-to-external-
esata-pci-backplate-adaptor

Hopefully they'll do the job.

All I need now is a card. The problem with many that I'm finding listed, don't 
actually list what chipset they are based on, so I'm fishing in the dark.

Anything in this list sound familiar?

http://www.scan.co.uk/Shop/Computer-Hardware/All/HDD-Controllers/SATA-SAS-
eSATA-2-4-Port

Michelle.
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Can anyone recommend an external SATA card?

2011-01-20 Thread Gregory Youngblood
I should have also mentioned just using an adapter to provide esata interfaces 
from internal sata ports.  

Either way you are not limited to cards that already have esata ports built in. 

Greg 

Sent from my Droid Incredible.

- Reply message -
From: "Gregory Youngblood" 
Date: Thu, Jan 20, 2011 10:44 am
Subject: Re: [OpenIndiana-discuss] Can anyone recommend an external SATA card?
To: "Michelle Knight" , "Discussion list for 
OpenIndiana" 

Depending on the server you may be better to look for low priced SAS cards with 
sata adapters and an adapter for internal sata to e-sata.  

It seems to me that there are more supported pcie sas cards than sata.  No data 
to back that up, just what I seem to notice. 

Sent from my Droid Incredible.

- Reply message -
From: "Michelle Knight" 
Date: Thu, Jan 20, 2011 10:28 am
Subject: [OpenIndiana-discuss] Can anyone recommend an external SATA card?
To: "Discussion list for OpenIndiana" 

Hi Folks,

I've been driving myself crazy looking at SATA cards for the last few days.

What I need is the following...

1) Compatable with OI  (I'm really tripping myself up here
2) Lowest price possible
3) PCI-E
4) Ports needed - 2 E-SATA Version 3.

Any recommendations please?

Many thanks,

Michelle.
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Can anyone recommend an external SATA card?

2011-01-20 Thread Gregory Youngblood
Depending on the server you may be better to look for low priced SAS cards with 
sata adapters and an adapter for internal sata to e-sata.  

It seems to me that there are more supported pcie sas cards than sata.  No data 
to back that up, just what I seem to notice. 

Sent from my Droid Incredible.

- Reply message -
From: "Michelle Knight" 
Date: Thu, Jan 20, 2011 10:28 am
Subject: [OpenIndiana-discuss] Can anyone recommend an external SATA card?
To: "Discussion list for OpenIndiana" 

Hi Folks,

I've been driving myself crazy looking at SATA cards for the last few days.

What I need is the following...

1) Compatable with OI  (I'm really tripping myself up here
2) Lowest price possible
3) PCI-E
4) Ports needed - 2 E-SATA Version 3.

Any recommendations please?

Many thanks,

Michelle.
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Can anyone recommend an external SATA card?

2011-01-20 Thread Michelle Knight
Hi Folks,

I've been driving myself crazy looking at SATA cards for the last few days.

What I need is the following...

1) Compatable with OI  (I'm really tripping myself up here
2) Lowest price possible
3) PCI-E
4) Ports needed - 2 E-SATA Version 3.

Any recommendations please?

Many thanks,

Michelle.
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Antwort: Re: Zpool upgrade didn't seem to upgrade

2011-01-20 Thread Michelle Knight
Got it.

The variable "autoexpand" wasn't set to "on".

Apparently it was the default  at some point, but must have changed.

Doh!
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Antwort: Re: Zpool upgrade didn't seem to upgrade

2011-01-20 Thread Michelle Knight
Hi Thorsten,

No snapshots on the data pool ...

mich@jaguar:~# zfs list -tall
NAME USED  AVAIL  REFER  MOUNTPOINT
data2.28T   393G  2.28T  /mirror
rpool   7.69G  28.7G45K  /rpool
rpool/ROOT  3.70G  28.7G31K  legacy
rpool/ROOT/openindiana  3.70G  28.7G  3.59G  /
rpool/ROOT/openindiana@install   106M  -  3.38G  -
rpool/dump  1.93G  28.7G  1.93G  -
rpool/export5.22M  28.7G32K  /export
rpool/export/home   5.19M  28.7G32K  /export/home
rpool/export/home/mich  5.16M  28.7G  5.16M  /export/home/mich
rpool/swap  2.05G  30.7G   126M  -

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Antwort: Re: Zpool upgrade didn't seem to upgrade

2011-01-20 Thread thorsten . heit
Hi,

> I've checked that the drives have new labels written, and all three know 
that 
> there is 2tb on them.
> 
> The interesting thing is the allocation...
> mich@jaguar:~# zpool list
> NAMESIZE  ALLOC   FREECAP  DEDUP  HEALTH  ALTROOT
> data   4.06T  3.42T   655G84%  1.00x  ONLINE  -
> 
> It knows the size is 4tb, but only 3.42 is "allocated", but even this...
> 
> mich@jaguar:~# zfs list
> NAME USED  AVAIL  REFER  MOUNTPOINT
> data2.28T   393G  2.28T  /mirror
> 
> ...doesn't even add up to 3.42tb

Do you have any snapshots on your file systems?
What does "zfs list -tall" print?


Regards

Thorsten

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] PCIe card problem

2011-01-20 Thread Bernd Helber
Hi Michelle,

please have a look at the bug id and the thread.
Seems not to be supported.

On the other hand it may be possible that there is a proprietary driver
for SOL 10x86 out there.

Additionally go into your the BIOS options and set the SATA controller
mode to AHCI, hopefullly the device will be detected properly.

But now clue if it works, regardingt the driver issue. :-(


devfsadm -Cv

or  reconfigure reboot

reboot -- -r

-


cfgadm -al

 enable them

the targets and device names will be different...


  cfgadm -xsata_port_activate sata1/2


Activate the port: /devices/pci@0,0/pci1025,183@1f,2:2
This operation will enable activity on the SATA port
Continue (yes/no)? y


cfgadm -c configure  sata1/2

   cfgadm -al

sata1/2::dsk/c9t2d0disk connectedconfigured   ok


Am 20.01.11 17:07, schrieb Michelle Knight:
> Hi Folks,
> 
> In my effort to save money, I bought a PCIe card that gave me two reasonably 
> fast e-sata ports.
> 
> I've got a feeling that OI can't see the card and therefore won't use it. Am 
> I 
> right? Is there anything I can do about this?
> 
> The chipset is Marvell 9128
>
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6967157
http://opensolaris.org/jive/thread.jspa?messageID=491082


Good luck and fingers crossed.



 _.-|-/\-._
  \-'  '-.
 //\/\\/
   \/  <.  >  ./.  \/
   _   /  < > /___\ |.
 .< \ /  < /\> ( #) |#)
   | |<   /\   -.   __\
\   <  <   V  > )./_._(\
   .)/\   <  <  .- /  \_'_) )-..
   \  <   ./  /  > >   /._./
   /\   <  '-' >>/
 '-._ < v>   _.-'
   / '-.__.·' \
 \/

 ***
 *This message has been scanned by DrWeb AV and Spamassassin

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Zpool upgrade didn't seem to upgrade

2011-01-20 Thread Michelle Knight
I've checked that the drives have new labels written, and all three know that 
there is 2tb on them.

The interesting thing is the allocation...
mich@jaguar:~# zpool list
NAMESIZE  ALLOC   FREECAP  DEDUP  HEALTH  ALTROOT
data   4.06T  3.42T   655G84%  1.00x  ONLINE  -

It knows the size is 4tb, but only 3.42 is "allocated", but even this...

mich@jaguar:~# zfs list
NAME USED  AVAIL  REFER  MOUNTPOINT
data2.28T   393G  2.28T  /mirror

...doesn't even add up to 3.42tb

I'm getting confused.
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] zpool and nfs

2011-01-20 Thread Deano
For root pool don't specify the whole disk use the slice instead,
So

zpool add rpool c8t2d0s0

Note the s0 slice index, so that zpool doesn't replace the boot information
that it would if you use the entire disk (and it stops you with the EFI
message)

HTH,
Deano
de...@cloudpixies.com


-Original Message-
From: ann kok [mailto:oiyan...@yahoo.ca] 
Sent: 20 January 2011 15:35
To: Discussion list for OpenIndiana
Subject: Re: [OpenIndiana-discuss] zpool and nfs

Hi Bernd

SMI is selected now. But "zpool add" is still in problem. The
/var/adm/message is showing nothing!

Any idea? Thank you

root@opensolaris:~# format -e
Searching for disks...done


AVAILABLE DISK SELECTIONS:
   0. c8t0d0 
  /pci@0,0/pci15ad,1976@10/sd@0,0
   1. c8t1d0 
  /pci@0,0/pci15ad,1976@10/sd@1,0
   2. c8t2d0 
  /pci@0,0/pci15ad,1976@10/sd@2,0
Specify disk (enter its number): 2
selecting c8t2d0
[disk formatted]
No Solaris fdisk partition found.


FORMAT MENU:
disk   - select a disk
type   - select (define) a disk type
partition  - select (define) a partition table
current- describe the current disk
format - format and analyze the disk
fdisk  - run the fdisk program
repair - repair a defective sector
label  - write label to the disk
analyze- surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save   - save new disk/partition definitions
inquiry- show vendor, product and revision
scsi   - independent SCSI mode selects
cache  - enable, disable or query SCSI disk cache
volname- set 8-character volume name
! - execute , then return
quit
format> fdisk
No fdisk table exists. The default partition for the disk is:

  a 100% "SOLARIS System" partition

Type "y" to accept the default partition,  otherwise type "n" to edit the
 partition table.
y
format> label
[0] SMI Label
[1] EFI Label
Specify Label type[0]: 0
Ready to label disk, continue? 
Ready to label disk, continue? y

format> quit
root@opensolaris:~# zpool add rpool c8t2d0
cannot label 'c8t2d0': EFI labeled devices are not supported on root pools.

root@opensolaris:~# tail /var/adm/messages 
Jan 20 09:07:58 opensolaris pseudo: [ID 129642 kern.info] pseudo-device:
winlock0
Jan 20 09:07:58 opensolaris genunix: [ID 936769 kern.info] winlock0 is
/pseudo/winlock@0
Jan 20 09:07:58 opensolaris pseudo: [ID 129642 kern.info] pseudo-device: pm0
Jan 20 09:07:58 opensolaris genunix: [ID 936769 kern.info] pm0 is
/pseudo/pm@0
Jan 20 09:07:59 opensolaris pseudo: [ID 129642 kern.info] pseudo-device:
nsmb0
Jan 20 09:07:59 opensolaris genunix: [ID 936769 kern.info] nsmb0 is
/pseudo/nsmb@0
Jan 20 09:07:59 opensolaris pseudo: [ID 129642 kern.info] pseudo-device:
lx_systrace0
Jan 20 09:07:59 opensolaris genunix: [ID 936769 kern.info] lx_systrace0 is
/pseudo/lx_systrace@0
Jan 20 09:17:48 opensolaris mDNSResponder: [ID 702911 daemon.error] ERROR:
getOptRdata - unknown opt 4
Jan 20 09:18:16 opensolaris last message repeated 5 times

Thank you

--- On Thu, 1/20/11, Bernd Helber  wrote:

> From: Bernd Helber 
> Subject: Re: [OpenIndiana-discuss] zpool and nfs
> To: openindiana-discuss@openindiana.org
> Received: Thursday, January 20, 2011, 10:13 AM
> Sorry i forgot,
> 
> you're on x86
> 
> format>fdisk
> 
> y
> 
> label
> select SMI Label
> 
> thanks in advance.
> 
> 
> 
> Am 20.01.11 15:22, schrieb ann kok:
> > Hi Bernd
> > 
> > The label won't work and I also provide
> /var/adm/message
> > 
> > Thank you
> > 
> > root@opensolaris:~# format -e
> > Searching for disks...done
> > 
> > 
> > AVAILABLE DISK SELECTIONS:
> >        0. c8t0d0  2607 alt 2 hd 255 sec 63>
> >       
>    /pci@0,0/pci15ad,1976@10/sd@0,0
> >        1. c8t1d0  1303 alt 2 hd 255 sec 63>
> >       
>    /pci@0,0/pci15ad,1976@10/sd@1,0
> >        2. c8t2d0  1534 alt 2 hd 128 sec 32>
> >       
>    /pci@0,0/pci15ad,1976@10/sd@2,0
> > Specify disk (enter its number): 2
> > selecting c8t2d0
> > [disk formatted]
> > No Solaris fdisk partition found.
> > 
> > 
> > FORMAT MENU:
> >         disk 
>      - select a disk
> >         type 
>      - select (define) a disk type
> >         partition 
> - select (define) a partition table
> >         current 
>   - describe the current disk
> >         format 
>    - format and analyze the disk
> >         fdisk 
>     - run the fdisk program
> >         repair 
>    - repair a defective sector
> >         label 
>     - write label to the disk
> >         analyze 
>   - surface analysis
> >         defect 
>    - defect list management
> >         backup 
>    - search for backup labels
> >         verify 
>    - read and display labels
> >         save 
>      - save new disk/partition
> definitions
> >         inquiry 
>   - show vendor, product and revision
> >         scsi 
>      

Re: [OpenIndiana-discuss] Zpool upgrade didn't seem to upgrade

2011-01-20 Thread Michelle Knight
Thanks Bernd,

I know ... it isn't a backup solution. This is why I have the e-sata problems, 
to back up to external hard drives. - and I'm having problems with that as 
well :-)

But the problem here is that the export and import should enable ZFS to make 
use of the extra space ... but for some reason it is behaving as if there are 
still three 1.5tb drives making up the pool.

I'll follow the links you've kindly supplied and see if there is a manual way 
of telling ZFS that there is extra space on the pool.


The extra scrubs, by the way, were while I was having problems with the USB 
access. I wanted to make sure the data was being copied OK ... which, of 
course, it wasn't!!!

Michelle.
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] PCIe card problem

2011-01-20 Thread Michelle Knight
Hi Folks,

In my effort to save money, I bought a PCIe card that gave me two reasonably 
fast e-sata ports.

I've got a feeling that OI can't see the card and therefore won't use it. Am I 
right? Is there anything I can do about this?

The chipset is Marvell 9128

http://uk.startech.com/product/PEXESAT32-2-Port-SATA-6-Gbps-PCI-Express-eSATA-
Controller-Card

pci bus 0x0002 cardnum 0x00 function 0x00: vendor 0x1b4b device 0x9123
 Device unknown
 CardVendor 0x18ab card 0x9115 (Card unknown)
  STATUS0x0010  COMMAND 0x0047
  CLASS 0x01 0x06 0x01  REVISION 0x11
  BIST  0x00  HEADER 0x00  LATENCY 0x00  CACHE 0x10
  BASE0 0xef00 SIZE 8  I/O
  BASE1 0xee00 SIZE 4  I/O
  BASE2 0xed00 SIZE 8  I/O
  BASE3 0xec00 SIZE 4  I/O
  BASE4 0xeb00 SIZE 16  I/O
  BASE5 0xfbeff000 SIZE 2048  MEM
  BASEROM   0x  addr 0x
  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x01  INT_LINE 0x0b
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Zpool upgrade didn't seem to upgrade

2011-01-20 Thread Bernd Helber
Am 20.01.11 14:40, schrieb Michelle Knight:
> Morning!
> 
>> Personally i assume the peaks were triggerd by  resilvering the pool.
>> Its not uncommon that you have a high load, if your pool is resilvering.
> 
> Yes, the peaks were triggered by the resiver.
> 
> 
>> Best Practice in this case would have been creating a new Zpool,  e.g
>> raidz..
>>
>> zfs send from $oldpool  zfs receive $newpool... :-(
> 
> I don't have enough connections to hook everything together at the same time.
> 

> Also, I performed the trick with memory sticks. Here is a demo video I made...
> http://www.youtube.com/watch?v=RmtPpnSrJ6w
> ... once all the 4gig sticks were replaced with 8 gig sticks, simply 
> exporting 
> and then importing the pool resulted in the extra space becoming available.
> 
> For some reason, it didn't want to work with the 2tb drives.
>



> 
>> I have three Questions for you.
>>
>> First.. is this a production Box?
>
Ok, then its comparable to a production Box. :))



> It is my home server. The one that keeps all my data, photography RAW files, 
> music, programs, code, everything going back to when I started with computers 
> in my teens.
>  
>> Second..  could you provide  the output of zpool history?

Why so many scrubs, it makes me a little bit wonder, it shouldnt be
necessary.

> mich@jaguar:/root# zpool history
> History for 'backup':
> 2011-01-20.07:27:55 zpool create backup c3d0p0
> 
> History for 'data':
> 2010-01-14.20:50:32 zpool create data raidz c10t0d0p0 c11t0d0p0 c12t0d0p0
> 2010-01-14.20:54:22 zfs set mountpoint=/mirror data
> 2010-01-14.21:08:52 zfs set sharesmb=on data
> 2010-01-14.21:14:38 zfs set sharesmb=on data
> 2010-01-14.21:14:43 zfs set sharesmb=on data
> 2010-01-14.21:21:28 zfs set sharenfs=on data
> 2010-01-14.21:25:14 zfs set sharenfs=on data
> 2010-01-14.21:25:35 zfs set sharesmb=on data
> 2010-01-14.21:30:16 zfs set sharesmb=on data
> 2010-01-14.21:30:21 zfs set sharenfs=on data
> 2010-01-14.21:34:29 zfs set sharesmb=on data
> 2010-01-16.17:38:07 zpool import -f data
> 2010-01-17.17:13:56 zpool import -f data
> 2010-01-17.17:23:31 zpool export data
> 2010-01-17.17:32:34 zpool import data
> 2010-01-17.18:06:15 zpool export data
> 2010-01-17.18:07:18 zpool import data
> 2010-01-17.18:14:38 zpool export data
> 2010-01-17.18:14:55 zpool import data
> 2010-01-17.19:32:29 zpool export data
> 2010-01-17.20:33:34 zpool import data
> 2010-01-17.20:47:38 zpool export data
> 2010-01-17.20:56:05 zpool import data
> 2010-01-17.21:21:50 zpool export data
> 2010-01-17.21:35:24 zpool import data
> 2010-01-17.21:37:52 zfs set sharesmb=on data
> 2010-01-17.21:38:00 zfs set sharenfs=on data
> 2010-01-17.21:41:06 zfs set sharesmb=name=mirror data
> 2010-01-17.22:00:06 zpool export data
> 2010-01-17.22:02:44 zpool import data
> 2010-01-17.22:08:34 zpool export data
> 2010-01-17.22:31:27 zpool import data
> 2010-01-17.22:31:55 zpool export data
> 2010-01-18.07:39:30 zpool import data
> 2010-01-18.20:04:06 zfs set sharenfs=off data
> 2010-01-18.22:24:18 zpool export -f data
> 2010-01-18.22:26:17 zpool import data
> 2010-01-27.18:47:27 zpool export data
> 2010-01-27.20:36:11 zpool import data
> 2010-01-27.20:37:09 zpool export data
> 2010-01-31.09:26:24 zpool import data
> 2010-01-31.09:26:59 zpool export data
> 2010-02-03.19:19:57 zpool import data
> 2010-02-03.23:09:06 zpool export data
> 2010-02-03.23:13:25 zpool import data
> 2010-02-03.23:56:02 zpool export data
> 2010-02-16.19:41:11 zpool import data
> 2010-02-17.07:34:01 zpool upgrade data
> 2010-02-21.15:51:24 zpool export data
> 2010-02-21.18:35:57 zpool import data
> 2010-02-27.20:03:46 zpool scrub data
> 2010-03-05.04:00:04 zpool scrub data
> 2010-04-05.04:00:04 zpool scrub data
> 2010-05-05.04:00:04 zpool scrub data
> 2010-06-01.13:48:17 zpool clear data
> 2010-06-05.04:00:03 zpool scrub data
> 2010-07-05.04:00:03 zpool scrub data
> 2010-08-05.04:00:05 zpool scrub data
> 2010-08-05.22:26:45 zpool clear data
> 2010-08-19.15:01:05 zpool scrub data
> 2010-09-05.04:00:03 zpool scrub data
> 2010-09-15.19:44:14 zpool clear data
> 2010-09-15.22:41:29 zpool clear data
> 2010-10-05.04:00:04 zpool scrub data
> 2010-10-06.08:22:05 zpool clear data
> 2010-10-08.22:45:10 zpool clear data
> 2010-11-05.04:00:04 zpool scrub data
> 2010-12-05.04:00:04 zpool scrub data
> 2010-12-22.14:46:27 zpool scrub data
> 2010-12-23.08:08:27 zpool replace -f data c6t0d0p0 c6t2d0p0
> 2010-12-23.20:27:17 zpool scrub data
> 2010-12-23.20:55:59 zpool replace -f data c6t2d0p0 c6t0d0p0
> 2010-12-24.01:34:37 zpool clear data
> 2010-12-24.01:51:21 zpool offline data c6t0d0p0
> 2010-12-24.01:53:05 zpool online data c6t0d0p0
> 2010-12-24.01:54:59 zpool export data
> 2010-12-24.01:55:57 zpool import data
> 2010-12-24.07:22:34 zpool scrub -s data
> 2010-12-24.07:37:08 zpool detach data c6t0d0p0
> 2010-12-24.07:38:14 zpool scrub data
> 2010-12-24.07:38:43 zpool scrub -s data
> 2010-12-24.07:39:15 zpool scrub data
> 2010-12-24.12:08:01 zpool clear data
> 2010-12-24.12:24:49 zpoo

Re: [OpenIndiana-discuss] zpool and nfs

2011-01-20 Thread Dustin Marquess
I had this problem before and it drove me crazy.  For some reason
switching the label to SMI in format doesn't completely get rid of the
GPT labels.  I'm guessing maybe it removes the primary at the start of
the desk, but not the end?

I ended up having to use:

dd if=/dev/zero of=/dev/rdsk/c8t2d0s2 bs=512 count=16000
dd if=/dev/zero of=/dev/rdsk/c8t2d0s2 bs=512 oseek=<# of 512-byte
blocks needed to reach last MB of so of disk>

And *THEN* use format.  After that it worked fine.  Took forever on a
whole D1000 array to do.

-Dustin

On Thu, Jan 20, 2011 at 7:34 AM, ann kok  wrote:
> Hi Bernd
>
> SMI is selected now. But "zpool add" is still in problem. The 
> /var/adm/message is showing nothing!
>
> Any idea? Thank you
>
> root@opensolaris:~# format -e
> Searching for disks...done
>
>
> AVAILABLE DISK SELECTIONS:
>       0. c8t0d0 
>          /pci@0,0/pci15ad,1976@10/sd@0,0
>       1. c8t1d0 
>          /pci@0,0/pci15ad,1976@10/sd@1,0
>       2. c8t2d0 
>          /pci@0,0/pci15ad,1976@10/sd@2,0
> Specify disk (enter its number): 2
> selecting c8t2d0
> [disk formatted]
> No Solaris fdisk partition found.
>
>
> FORMAT MENU:
>        disk       - select a disk
>        type       - select (define) a disk type
>        partition  - select (define) a partition table
>        current    - describe the current disk
>        format     - format and analyze the disk
>        fdisk      - run the fdisk program
>        repair     - repair a defective sector
>        label      - write label to the disk
>        analyze    - surface analysis
>        defect     - defect list management
>        backup     - search for backup labels
>        verify     - read and display labels
>        save       - save new disk/partition definitions
>        inquiry    - show vendor, product and revision
>        scsi       - independent SCSI mode selects
>        cache      - enable, disable or query SCSI disk cache
>        volname    - set 8-character volume name
>        !     - execute , then return
>        quit
> format> fdisk
> No fdisk table exists. The default partition for the disk is:
>
>  a 100% "SOLARIS System" partition
>
> Type "y" to accept the default partition,  otherwise type "n" to edit the
>  partition table.
> y
> format> label
> [0] SMI Label
> [1] EFI Label
> Specify Label type[0]: 0
> Ready to label disk, continue?
> Ready to label disk, continue? y
>
> format> quit
> root@opensolaris:~# zpool add rpool c8t2d0
> cannot label 'c8t2d0': EFI labeled devices are not supported on root pools.
>
> root@opensolaris:~# tail /var/adm/messages
> Jan 20 09:07:58 opensolaris pseudo: [ID 129642 kern.info] pseudo-device: 
> winlock0
> Jan 20 09:07:58 opensolaris genunix: [ID 936769 kern.info] winlock0 is 
> /pseudo/winlock@0
> Jan 20 09:07:58 opensolaris pseudo: [ID 129642 kern.info] pseudo-device: pm0
> Jan 20 09:07:58 opensolaris genunix: [ID 936769 kern.info] pm0 is /pseudo/pm@0
> Jan 20 09:07:59 opensolaris pseudo: [ID 129642 kern.info] pseudo-device: nsmb0
> Jan 20 09:07:59 opensolaris genunix: [ID 936769 kern.info] nsmb0 is 
> /pseudo/nsmb@0
> Jan 20 09:07:59 opensolaris pseudo: [ID 129642 kern.info] pseudo-device: 
> lx_systrace0
> Jan 20 09:07:59 opensolaris genunix: [ID 936769 kern.info] lx_systrace0 is 
> /pseudo/lx_systrace@0
> Jan 20 09:17:48 opensolaris mDNSResponder: [ID 702911 daemon.error] ERROR: 
> getOptRdata - unknown opt 4
> Jan 20 09:18:16 opensolaris last message repeated 5 times
>
> Thank you
>
> --- On Thu, 1/20/11, Bernd Helber  wrote:
>
>> From: Bernd Helber 
>> Subject: Re: [OpenIndiana-discuss] zpool and nfs
>> To: openindiana-discuss@openindiana.org
>> Received: Thursday, January 20, 2011, 10:13 AM
>> Sorry i forgot,
>>
>> you're on x86
>>
>> format>fdisk
>>
>> y
>>
>> label
>> select SMI Label
>>
>> thanks in advance.
>>
>>
>>
>> Am 20.01.11 15:22, schrieb ann kok:
>> > Hi Bernd
>> >
>> > The label won't work and I also provide
>> /var/adm/message
>> >
>> > Thank you
>> >
>> > root@opensolaris:~# format -e
>> > Searching for disks...done
>> >
>> >
>> > AVAILABLE DISK SELECTIONS:
>> >        0. c8t0d0 > 2607 alt 2 hd 255 sec 63>
>> >
>>    /pci@0,0/pci15ad,1976@10/sd@0,0
>> >        1. c8t1d0 > 1303 alt 2 hd 255 sec 63>
>> >
>>    /pci@0,0/pci15ad,1976@10/sd@1,0
>> >        2. c8t2d0 > 1534 alt 2 hd 128 sec 32>
>> >
>>    /pci@0,0/pci15ad,1976@10/sd@2,0
>> > Specify disk (enter its number): 2
>> > selecting c8t2d0
>> > [disk formatted]
>> > No Solaris fdisk partition found.
>> >
>> >
>> > FORMAT MENU:
>> >         disk
>>      - select a disk
>> >         type
>>      - select (define) a disk type
>> >         partition
>> - select (define) a partition table
>> >         current
>>   - describe the current disk
>> >         format
>>    - format and analyze the disk
>> >         fdisk
>>     - run the fdisk program
>> >         repair
>>    - repair a defective sector
>> >         label
>>     - write label to the disk
>> >         analyze
>>   - surface analysis
>> >         defect
>>    - de

Re: [OpenIndiana-discuss] zpool and nfs

2011-01-20 Thread Bernd Helber
Try to fix the Label again...


then try

zpool add -n the Box should give you a response.

also have a look at the man page
man zpool

you could also try to force it with

zpool add -f

But please keep in mind not every device could be forced. ;)

please have also a look at blogs.sun.com  its a very useful ressource.
Also the Solarisinternals Wiki.


Cheers


Am 20.01.11 16:34, schrieb ann kok:
> Hi Bernd
> 
> SMI is selected now. But "zpool add" is still in problem. The 
> /var/adm/message is showing nothing!
> 
> Any idea? Thank you
> 
> root@opensolaris:~# format -e
> Searching for disks...done
> 
> 
> AVAILABLE DISK SELECTIONS:
>0. c8t0d0 
>   /pci@0,0/pci15ad,1976@10/sd@0,0
>1. c8t1d0 
>   /pci@0,0/pci15ad,1976@10/sd@1,0
>2. c8t2d0 
>   /pci@0,0/pci15ad,1976@10/sd@2,0
> Specify disk (enter its number): 2
> selecting c8t2d0
> [disk formatted]
> No Solaris fdisk partition found.
> 
> 
> FORMAT MENU:
> disk   - select a disk
> type   - select (define) a disk type
> partition  - select (define) a partition table
> current- describe the current disk
> format - format and analyze the disk
> fdisk  - run the fdisk program
> repair - repair a defective sector
> label  - write label to the disk
> analyze- surface analysis
> defect - defect list management
> backup - search for backup labels
> verify - read and display labels
> save   - save new disk/partition definitions
> inquiry- show vendor, product and revision
> scsi   - independent SCSI mode selects
> cache  - enable, disable or query SCSI disk cache
> volname- set 8-character volume name
> ! - execute , then return
> quit
> format> fdisk
> No fdisk table exists. The default partition for the disk is:
> 
>   a 100% "SOLARIS System" partition
> 
> Type "y" to accept the default partition,  otherwise type "n" to edit the
>  partition table.
> y
> format> label
> [0] SMI Label
> [1] EFI Label
> Specify Label type[0]: 0
> Ready to label disk, continue? 
> Ready to label disk, continue? y
> 
> format> quit
> root@opensolaris:~# zpool add rpool c8t2d0
> cannot label 'c8t2d0': EFI labeled devices are not supported on root pools.
> 
> root@opensolaris:~# tail /var/adm/messages 
> Jan 20 09:07:58 opensolaris pseudo: [ID 129642 kern.info] pseudo-device: 
> winlock0
> Jan 20 09:07:58 opensolaris genunix: [ID 936769 kern.info] winlock0 is 
> /pseudo/winlock@0
> Jan 20 09:07:58 opensolaris pseudo: [ID 129642 kern.info] pseudo-device: pm0
> Jan 20 09:07:58 opensolaris genunix: [ID 936769 kern.info] pm0 is /pseudo/pm@0
> Jan 20 09:07:59 opensolaris pseudo: [ID 129642 kern.info] pseudo-device: nsmb0
> Jan 20 09:07:59 opensolaris genunix: [ID 936769 kern.info] nsmb0 is 
> /pseudo/nsmb@0
> Jan 20 09:07:59 opensolaris pseudo: [ID 129642 kern.info] pseudo-device: 
> lx_systrace0
> Jan 20 09:07:59 opensolaris genunix: [ID 936769 kern.info] lx_systrace0 is 
> /pseudo/lx_systrace@0
> Jan 20 09:17:48 opensolaris mDNSResponder: [ID 702911 daemon.error] ERROR: 
> getOptRdata - unknown opt 4
> Jan 20 09:18:16 opensolaris last message repeated 5 times
> 
> Thank you
> 
> --- On Thu, 1/20/11, Bernd Helber  wrote:
> 
>> From: Bernd Helber 
>> Subject: Re: [OpenIndiana-discuss] zpool and nfs
>> To: openindiana-discuss@openindiana.org
>> Received: Thursday, January 20, 2011, 10:13 AM
>> Sorry i forgot,
>>
>> you're on x86
>>
>> format>fdisk
>>
>> y
>>
>> label
>> select SMI Label
>>
>> thanks in advance.
>>
>>
>>
>> Am 20.01.11 15:22, schrieb ann kok:
>>> Hi Bernd
>>>
>>> The label won't work and I also provide
>> /var/adm/message
>>>
>>> Thank you
>>>
>>> root@opensolaris:~# format -e
>>> Searching for disks...done
>>>
>>>
>>> AVAILABLE DISK SELECTIONS:
>>> 0. c8t0d0 > 2607 alt 2 hd 255 sec 63>
>>>
>>/pci@0,0/pci15ad,1976@10/sd@0,0
>>> 1. c8t1d0 > 1303 alt 2 hd 255 sec 63>
>>>
>>/pci@0,0/pci15ad,1976@10/sd@1,0
>>> 2. c8t2d0 > 1534 alt 2 hd 128 sec 32>
>>>
>>/pci@0,0/pci15ad,1976@10/sd@2,0
>>> Specify disk (enter its number): 2
>>> selecting c8t2d0
>>> [disk formatted]
>>> No Solaris fdisk partition found.
>>>
>>>
>>> FORMAT MENU:
>>>  disk 
>>  - select a disk
>>>  type 
>>  - select (define) a disk type
>>>  partition 
>> - select (define) a partition table
>>>  current 
>>   - describe the current disk
>>>  format 
>>- format and analyze the disk
>>>  fdisk 
>> - run the fdisk program
>>>  repair 
>>- repair a defective sector
>>>  label 
>> - write label to the disk
>>>  analyze 
>>   - surface analysis
>>>  defect 
>>- defect list management
>>>  backup 
>>- search for backup labels
>>>  verify 
>>- read and display labels
>>>  

Re: [OpenIndiana-discuss] Proposal: OpenIndiana Stable Branch

2011-01-20 Thread Dave Miner

On 01/18/11 05:01 PM, Alasdair Lumsden wrote:

On 18 Jan 2011, at 18:31, Gordon Ross wrote:


Dave Miner writes: [...]

Perhaps refactoring of Caiman is needed, where the Live CD
ships with a pkg repo, starts a pkg server, and does an install
from that. Not sure how feasible this would be. Given how
complete pkg is, probably not all that hard.



We looked into this a little quite some time ago.  The problem
with doing IPS-based installation from CD's or DVD's is that
IPS's data access patterns during package installation are
relatively random, not streaming, and so you will get utterly
abysmal installation performance (orders of magnitude worse than
anything you've ever used) when using physical CD or DVD media.
That storage technology just isn't designed for random access.
This doesn't apply much if you're using an ISO image as a virtual
CD or using USB flash memory media.

Dave


Interesting.  Thanks, Dave.


Yes - thank you for this info, very helpful!


One way around that is to do sort of a "two stage" install, where
the first stage, running from the CD installs a "bare minimum"
system (from a cpio image or whatever, to avoid the problems with
poor random-access to the CD).  Then for the second stage, boot
into the new bare-minimum system and finish the install from IPS,
perhaps allowing use of the CD as your repo, or a local copy, or
get it off the net...


This sounds like something worth exploring.

There are a few options here.. just thinking out loud, a possibility
would be:

1. Install the minimal base via CPIO 2. If more packages are
requested than base, then extract the pkg repo to ram (tmpfs) or
local disk 3. Install the additional software requested via pkg

This may bump the RAM or Disk space requirements to do an install,
but the OS needs a lot of that to run anyway.



It will greatly increase both, in my experience, as any interesting 
package repo would seem to be quite large (multiple GB) and pkg has 
pretty substantial overhead in generating and executing a plan.  Really, 
you'd probably be better off booting into the installed system before 
adding more software.


Dave

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] zpool and nfs

2011-01-20 Thread Michael Schuster
ann,

read the error message zpool prints - it still says "EFI label", so
something must have gone wrong with your labelling

Michael

On Thu, Jan 20, 2011 at 16:34, ann kok  wrote:
> Hi Bernd
>
> SMI is selected now. But "zpool add" is still in problem. The 
> /var/adm/message is showing nothing!

-- 
regards/mit freundlichen Grüssen
Michael Schuster

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] zpool and nfs

2011-01-20 Thread ann kok
Hi Bernd

SMI is selected now. But "zpool add" is still in problem. The /var/adm/message 
is showing nothing!

Any idea? Thank you

root@opensolaris:~# format -e
Searching for disks...done


AVAILABLE DISK SELECTIONS:
   0. c8t0d0 
  /pci@0,0/pci15ad,1976@10/sd@0,0
   1. c8t1d0 
  /pci@0,0/pci15ad,1976@10/sd@1,0
   2. c8t2d0 
  /pci@0,0/pci15ad,1976@10/sd@2,0
Specify disk (enter its number): 2
selecting c8t2d0
[disk formatted]
No Solaris fdisk partition found.


FORMAT MENU:
disk   - select a disk
type   - select (define) a disk type
partition  - select (define) a partition table
current- describe the current disk
format - format and analyze the disk
fdisk  - run the fdisk program
repair - repair a defective sector
label  - write label to the disk
analyze- surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save   - save new disk/partition definitions
inquiry- show vendor, product and revision
scsi   - independent SCSI mode selects
cache  - enable, disable or query SCSI disk cache
volname- set 8-character volume name
! - execute , then return
quit
format> fdisk
No fdisk table exists. The default partition for the disk is:

  a 100% "SOLARIS System" partition

Type "y" to accept the default partition,  otherwise type "n" to edit the
 partition table.
y
format> label
[0] SMI Label
[1] EFI Label
Specify Label type[0]: 0
Ready to label disk, continue? 
Ready to label disk, continue? y

format> quit
root@opensolaris:~# zpool add rpool c8t2d0
cannot label 'c8t2d0': EFI labeled devices are not supported on root pools.

root@opensolaris:~# tail /var/adm/messages 
Jan 20 09:07:58 opensolaris pseudo: [ID 129642 kern.info] pseudo-device: 
winlock0
Jan 20 09:07:58 opensolaris genunix: [ID 936769 kern.info] winlock0 is 
/pseudo/winlock@0
Jan 20 09:07:58 opensolaris pseudo: [ID 129642 kern.info] pseudo-device: pm0
Jan 20 09:07:58 opensolaris genunix: [ID 936769 kern.info] pm0 is /pseudo/pm@0
Jan 20 09:07:59 opensolaris pseudo: [ID 129642 kern.info] pseudo-device: nsmb0
Jan 20 09:07:59 opensolaris genunix: [ID 936769 kern.info] nsmb0 is 
/pseudo/nsmb@0
Jan 20 09:07:59 opensolaris pseudo: [ID 129642 kern.info] pseudo-device: 
lx_systrace0
Jan 20 09:07:59 opensolaris genunix: [ID 936769 kern.info] lx_systrace0 is 
/pseudo/lx_systrace@0
Jan 20 09:17:48 opensolaris mDNSResponder: [ID 702911 daemon.error] ERROR: 
getOptRdata - unknown opt 4
Jan 20 09:18:16 opensolaris last message repeated 5 times

Thank you

--- On Thu, 1/20/11, Bernd Helber  wrote:

> From: Bernd Helber 
> Subject: Re: [OpenIndiana-discuss] zpool and nfs
> To: openindiana-discuss@openindiana.org
> Received: Thursday, January 20, 2011, 10:13 AM
> Sorry i forgot,
> 
> you're on x86
> 
> format>fdisk
> 
> y
> 
> label
> select SMI Label
> 
> thanks in advance.
> 
> 
> 
> Am 20.01.11 15:22, schrieb ann kok:
> > Hi Bernd
> > 
> > The label won't work and I also provide
> /var/adm/message
> > 
> > Thank you
> > 
> > root@opensolaris:~# format -e
> > Searching for disks...done
> > 
> > 
> > AVAILABLE DISK SELECTIONS:
> >        0. c8t0d0  2607 alt 2 hd 255 sec 63>
> >       
>    /pci@0,0/pci15ad,1976@10/sd@0,0
> >        1. c8t1d0  1303 alt 2 hd 255 sec 63>
> >       
>    /pci@0,0/pci15ad,1976@10/sd@1,0
> >        2. c8t2d0  1534 alt 2 hd 128 sec 32>
> >       
>    /pci@0,0/pci15ad,1976@10/sd@2,0
> > Specify disk (enter its number): 2
> > selecting c8t2d0
> > [disk formatted]
> > No Solaris fdisk partition found.
> > 
> > 
> > FORMAT MENU:
> >         disk 
>      - select a disk
> >         type 
>      - select (define) a disk type
> >         partition 
> - select (define) a partition table
> >         current 
>   - describe the current disk
> >         format 
>    - format and analyze the disk
> >         fdisk 
>     - run the fdisk program
> >         repair 
>    - repair a defective sector
> >         label 
>     - write label to the disk
> >         analyze 
>   - surface analysis
> >         defect 
>    - defect list management
> >         backup 
>    - search for backup labels
> >         verify 
>    - read and display labels
> >         save 
>      - save new disk/partition
> definitions
> >         inquiry 
>   - show vendor, product and revision
> >         scsi 
>      - independent SCSI mode selects
> >         cache 
>     - enable, disable or query SCSI disk cache
> >         volname 
>   - set 8-character volume name
> >     
>    !     -
> execute , then return
> >         quit
> > format> label 
> > WARNING - This disk may be in use by an application
> that has
> >           modified
> the fdisk table. Ensure that this disk is
> >           not
> currently in use before proceeding to use fdisk.
> > 
> > /var/adm/message

Re: [OpenIndiana-discuss] zpool and nfs

2011-01-20 Thread Bernd Helber
Sorry i forgot,

you're on x86

format>fdisk

y

label
select SMI Label

thanks in advance.



Am 20.01.11 15:22, schrieb ann kok:
> Hi Bernd
> 
> The label won't work and I also provide /var/adm/message
> 
> Thank you
> 
> root@opensolaris:~# format -e
> Searching for disks...done
> 
> 
> AVAILABLE DISK SELECTIONS:
>0. c8t0d0 
>   /pci@0,0/pci15ad,1976@10/sd@0,0
>1. c8t1d0 
>   /pci@0,0/pci15ad,1976@10/sd@1,0
>2. c8t2d0 
>   /pci@0,0/pci15ad,1976@10/sd@2,0
> Specify disk (enter its number): 2
> selecting c8t2d0
> [disk formatted]
> No Solaris fdisk partition found.
> 
> 
> FORMAT MENU:
> disk   - select a disk
> type   - select (define) a disk type
> partition  - select (define) a partition table
> current- describe the current disk
> format - format and analyze the disk
> fdisk  - run the fdisk program
> repair - repair a defective sector
> label  - write label to the disk
> analyze- surface analysis
> defect - defect list management
> backup - search for backup labels
> verify - read and display labels
> save   - save new disk/partition definitions
> inquiry- show vendor, product and revision
> scsi   - independent SCSI mode selects
> cache  - enable, disable or query SCSI disk cache
> volname- set 8-character volume name
> ! - execute , then return
> quit
> format> label 
> WARNING - This disk may be in use by an application that has
>   modified the fdisk table. Ensure that this disk is
>   not currently in use before proceeding to use fdisk.
> 
> /var/adm/message
> 
> Jan 20 09:07:58 opensolaris pseudo: [ID 129642 kern.info] pseudo-device: pm0
> Jan 20 09:07:58 opensolaris genunix: [ID 936769 kern.info] pm0 is /pseudo/pm@0
> Jan 20 09:07:59 opensolaris pseudo: [ID 129642 kern.info] pseudo-device: nsmb0
> Jan 20 09:07:59 opensolaris genunix: [ID 936769 kern.info] nsmb0 is 
> /pseudo/nsmb@0
> Jan 20 09:07:59 opensolaris pseudo: [ID 129642 kern.info] pseudo-device: 
> lx_systrace0
> Jan 20 09:07:59 opensolaris genunix: [ID 936769 kern.info] lx_systrace0 is 
> /pseudo/lx_systrace@0
> Jan 20 09:17:48 opensolaris mDNSResponder: [ID 702911 daemon.error] ERROR: 
> getOptRdata - unknown opt 4
> Jan 20 09:18:16 opensolaris last message repeated 5 times
> 
> 
> 
> 
> --- On Wed, 1/19/11, Bernd Helber  wrote:
> 
>> From: Bernd Helber 
>> Subject: Re: [OpenIndiana-discuss] zpool and nfs
>> To: "Discussion list for OpenIndiana" 
>> Received: Wednesday, January 19, 2011, 5:37 PM
>> format
>> label --> select SMI Label.
>>
>> that should solve the issue,
>>
>> if there are more issues, please provide
>>
>> /var/adm/messages*
>>
>> thanks in advance.
>>
>>
>> Am 19.01.11 22:53, schrieb ann kok:
>>> Hi Edward
>>>
>>> Thank you for your mail
>>>
>>> I follow your advice to reboot my computer. It is
>> fine
>>>
>>> Now. I have problem to attach it. What can I do this?
>>>
>>> root@opensolaris:~# format -e
>>> Searching for disks...done
>>>
>>>
>>> AVAILABLE DISK SELECTIONS:
>>> 0. c8t0d0 > 2607 alt 2 hd 255 sec 63>
>>>
>>/pci@0,0/pci15ad,1976@10/sd@0,0
>>> 1. c8t1d0 > 1303 alt 2 hd 255 sec 63>
>>>
>>/pci@0,0/pci15ad,1976@10/sd@1,0
>>> Specify disk (enter its number): ^C
>>> root@opensolaris:~# zpool add rpool c8t1d0
>>> cannot label 'c8t1d0': EFI labeled devices are not
>> supported on root pools.
>>>
>>> 2/ For the command devfsadm -Cv, I run it the first
>> time. It showed many message but I can't catch it. 
>>> I try to run again, but show nothing
>>> How can I catch those message?
>>>
>>> Thank you so much
>>>
>>>
>>> --- On Wed, 1/19/11, Edward Ned Harvey 
>> wrote:
>>>
 From: Edward Ned Harvey 
 Subject: Re: [OpenIndiana-discuss] zpool and nfs
 To: "Discussion list for OpenIndiana" 
 Received: Wednesday, January 19, 2011, 4:23 PM
> From: ann kok [mailto:oiyan...@yahoo.ca]
>
> As I haven't received the response, I run the
>> formart
 -e
> It said it needs around 3 hours
>
> format> format
> Ready to format.  Formatting cannot be
 interrupted
> and takes 232 minutes (estimated). Continue?
> Continue? y

 Oh my goodness.  No.
 When you run format -e, it should just display a
>> list of
 all the disks in
 the system (instantly), and ask you which one you
>> want to
 work on, and then
 you quit.  I'm sure I said that.  Quit
>> without
 changing anything.  (And be
 careful not to break anything.)  I am
>> extremely
 certain I never told you to
 type "format" after you got into the format
>> prompt. 
 And when it prompted
 you "Continue?"  You should definitely have
>> said "n"
 instead of "y"

 You have entered the format prompt, and then
>> entered the
 format command on

Re: [OpenIndiana-discuss] netstat

2011-01-20 Thread Christopher Chan

On Thursday, January 20, 2011 10:52 PM, adrian kok wrote:

Hello

I am new in open solaris.

I run the command netstat -r and don't know meaning of Ref and USE columns
25, 32381, 38

Why the interface is solaris2?


Because it resolved the ip address to a hostname. netstat -rn will 
display ip addresses only.





Routing Table: IPv4
Destination   Gateway   Flags  Ref Use Interface
  - - -- -
default  192.168.0.5 UG1 25
192.168.0.0 solaris U 1 32381 solaris2
localhostlocalhostUH11  38 lo0



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] netstat

2011-01-20 Thread adrian kok
Hello

I am new in open solaris.

I run the command netstat -r and don't know meaning of Ref and USE columns
25, 32381, 38

Why the interface is solaris2?

Routing Table: IPv4
Destination   Gateway   Flags  Ref Use Interface
  - - -- -
default  192.168.0.5 UG1 25
192.168.0.0 solaris U 1 32381 solaris2
localhostlocalhostUH11  38 lo0



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] zpool and nfs

2011-01-20 Thread ann kok
Hi Bernd

The label won't work and I also provide /var/adm/message

Thank you

root@opensolaris:~# format -e
Searching for disks...done


AVAILABLE DISK SELECTIONS:
   0. c8t0d0 
  /pci@0,0/pci15ad,1976@10/sd@0,0
   1. c8t1d0 
  /pci@0,0/pci15ad,1976@10/sd@1,0
   2. c8t2d0 
  /pci@0,0/pci15ad,1976@10/sd@2,0
Specify disk (enter its number): 2
selecting c8t2d0
[disk formatted]
No Solaris fdisk partition found.


FORMAT MENU:
disk   - select a disk
type   - select (define) a disk type
partition  - select (define) a partition table
current- describe the current disk
format - format and analyze the disk
fdisk  - run the fdisk program
repair - repair a defective sector
label  - write label to the disk
analyze- surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save   - save new disk/partition definitions
inquiry- show vendor, product and revision
scsi   - independent SCSI mode selects
cache  - enable, disable or query SCSI disk cache
volname- set 8-character volume name
! - execute , then return
quit
format> label 
WARNING - This disk may be in use by an application that has
  modified the fdisk table. Ensure that this disk is
  not currently in use before proceeding to use fdisk.

/var/adm/message

Jan 20 09:07:58 opensolaris pseudo: [ID 129642 kern.info] pseudo-device: pm0
Jan 20 09:07:58 opensolaris genunix: [ID 936769 kern.info] pm0 is /pseudo/pm@0
Jan 20 09:07:59 opensolaris pseudo: [ID 129642 kern.info] pseudo-device: nsmb0
Jan 20 09:07:59 opensolaris genunix: [ID 936769 kern.info] nsmb0 is 
/pseudo/nsmb@0
Jan 20 09:07:59 opensolaris pseudo: [ID 129642 kern.info] pseudo-device: 
lx_systrace0
Jan 20 09:07:59 opensolaris genunix: [ID 936769 kern.info] lx_systrace0 is 
/pseudo/lx_systrace@0
Jan 20 09:17:48 opensolaris mDNSResponder: [ID 702911 daemon.error] ERROR: 
getOptRdata - unknown opt 4
Jan 20 09:18:16 opensolaris last message repeated 5 times




--- On Wed, 1/19/11, Bernd Helber  wrote:

> From: Bernd Helber 
> Subject: Re: [OpenIndiana-discuss] zpool and nfs
> To: "Discussion list for OpenIndiana" 
> Received: Wednesday, January 19, 2011, 5:37 PM
> format
> label --> select SMI Label.
> 
> that should solve the issue,
> 
> if there are more issues, please provide
> 
> /var/adm/messages*
> 
> thanks in advance.
> 
> 
> Am 19.01.11 22:53, schrieb ann kok:
> > Hi Edward
> > 
> > Thank you for your mail
> > 
> > I follow your advice to reboot my computer. It is
> fine
> > 
> > Now. I have problem to attach it. What can I do this?
> > 
> > root@opensolaris:~# format -e
> > Searching for disks...done
> > 
> > 
> > AVAILABLE DISK SELECTIONS:
> >        0. c8t0d0  2607 alt 2 hd 255 sec 63>
> >       
>    /pci@0,0/pci15ad,1976@10/sd@0,0
> >        1. c8t1d0  1303 alt 2 hd 255 sec 63>
> >       
>    /pci@0,0/pci15ad,1976@10/sd@1,0
> > Specify disk (enter its number): ^C
> > root@opensolaris:~# zpool add rpool c8t1d0
> > cannot label 'c8t1d0': EFI labeled devices are not
> supported on root pools.
> > 
> > 2/ For the command devfsadm -Cv, I run it the first
> time. It showed many message but I can't catch it. 
> > I try to run again, but show nothing
> > How can I catch those message?
> > 
> > Thank you so much
> > 
> > 
> > --- On Wed, 1/19/11, Edward Ned Harvey 
> wrote:
> > 
> >> From: Edward Ned Harvey 
> >> Subject: Re: [OpenIndiana-discuss] zpool and nfs
> >> To: "Discussion list for OpenIndiana" 
> >> Received: Wednesday, January 19, 2011, 4:23 PM
> >>> From: ann kok [mailto:oiyan...@yahoo.ca]
> >>>
> >>> As I haven't received the response, I run the
> formart
> >> -e
> >>> It said it needs around 3 hours
> >>>
> >>> format> format
> >>> Ready to format.  Formatting cannot be
> >> interrupted
> >>> and takes 232 minutes (estimated). Continue?
> >>> Continue? y
> >>
> >> Oh my goodness.  No.
> >> When you run format -e, it should just display a
> list of
> >> all the disks in
> >> the system (instantly), and ask you which one you
> want to
> >> work on, and then
> >> you quit.  I'm sure I said that.  Quit
> without
> >> changing anything.  (And be
> >> careful not to break anything.)  I am
> extremely
> >> certain I never told you to
> >> type "format" after you got into the format
> prompt. 
> >> And when it prompted
> >> you "Continue?"  You should definitely have
> said "n"
> >> instead of "y"
> >>
> >> You have entered the format prompt, and then
> entered the
> >> format command on
> >> the format prompt, which apparently does
> something
> >> horrific.  Hopefully
> >> you're doing it to a disk you don't care about.
> >>
> >> I suggest rebooting first, just to ensure you
> haven't
> >> destroyed your system.
> >> You may have destroyed it.
> >>
> >> Here is an example

Re: [OpenIndiana-discuss] Zpool upgrade didn't seem to upgrade

2011-01-20 Thread Michelle Knight
Morning!

> Personally i assume the peaks were triggerd by  resilvering the pool.
> Its not uncommon that you have a high load, if your pool is resilvering.

Yes, the peaks were triggered by the resiver.


> Best Practice in this case would have been creating a new Zpool,  e.g
> raidz..
> 
> zfs send from $oldpool  zfs receive $newpool... :-(

I don't have enough connections to hook everything together at the same time.

Also, I performed the trick with memory sticks. Here is a demo video I made...
http://www.youtube.com/watch?v=RmtPpnSrJ6w
... once all the 4gig sticks were replaced with 8 gig sticks, simply exporting 
and then importing the pool resulted in the extra space becoming available.

For some reason, it didn't want to work with the 2tb drives.


> I have three Questions for you.
> 
> First.. is this a production Box?

It is my home server. The one that keeps all my data, photography RAW files, 
music, programs, code, everything going back to when I started with computers 
in my teens.
 
> Second..  could you provide  the output of zpool history?
mich@jaguar:/root# zpool history
History for 'backup':
2011-01-20.07:27:55 zpool create backup c3d0p0

History for 'data':
2010-01-14.20:50:32 zpool create data raidz c10t0d0p0 c11t0d0p0 c12t0d0p0
2010-01-14.20:54:22 zfs set mountpoint=/mirror data
2010-01-14.21:08:52 zfs set sharesmb=on data
2010-01-14.21:14:38 zfs set sharesmb=on data
2010-01-14.21:14:43 zfs set sharesmb=on data
2010-01-14.21:21:28 zfs set sharenfs=on data
2010-01-14.21:25:14 zfs set sharenfs=on data
2010-01-14.21:25:35 zfs set sharesmb=on data
2010-01-14.21:30:16 zfs set sharesmb=on data
2010-01-14.21:30:21 zfs set sharenfs=on data
2010-01-14.21:34:29 zfs set sharesmb=on data
2010-01-16.17:38:07 zpool import -f data
2010-01-17.17:13:56 zpool import -f data
2010-01-17.17:23:31 zpool export data
2010-01-17.17:32:34 zpool import data
2010-01-17.18:06:15 zpool export data
2010-01-17.18:07:18 zpool import data
2010-01-17.18:14:38 zpool export data
2010-01-17.18:14:55 zpool import data
2010-01-17.19:32:29 zpool export data
2010-01-17.20:33:34 zpool import data
2010-01-17.20:47:38 zpool export data
2010-01-17.20:56:05 zpool import data
2010-01-17.21:21:50 zpool export data
2010-01-17.21:35:24 zpool import data
2010-01-17.21:37:52 zfs set sharesmb=on data
2010-01-17.21:38:00 zfs set sharenfs=on data
2010-01-17.21:41:06 zfs set sharesmb=name=mirror data
2010-01-17.22:00:06 zpool export data
2010-01-17.22:02:44 zpool import data
2010-01-17.22:08:34 zpool export data
2010-01-17.22:31:27 zpool import data
2010-01-17.22:31:55 zpool export data
2010-01-18.07:39:30 zpool import data
2010-01-18.20:04:06 zfs set sharenfs=off data
2010-01-18.22:24:18 zpool export -f data
2010-01-18.22:26:17 zpool import data
2010-01-27.18:47:27 zpool export data
2010-01-27.20:36:11 zpool import data
2010-01-27.20:37:09 zpool export data
2010-01-31.09:26:24 zpool import data
2010-01-31.09:26:59 zpool export data
2010-02-03.19:19:57 zpool import data
2010-02-03.23:09:06 zpool export data
2010-02-03.23:13:25 zpool import data
2010-02-03.23:56:02 zpool export data
2010-02-16.19:41:11 zpool import data
2010-02-17.07:34:01 zpool upgrade data
2010-02-21.15:51:24 zpool export data
2010-02-21.18:35:57 zpool import data
2010-02-27.20:03:46 zpool scrub data
2010-03-05.04:00:04 zpool scrub data
2010-04-05.04:00:04 zpool scrub data
2010-05-05.04:00:04 zpool scrub data
2010-06-01.13:48:17 zpool clear data
2010-06-05.04:00:03 zpool scrub data
2010-07-05.04:00:03 zpool scrub data
2010-08-05.04:00:05 zpool scrub data
2010-08-05.22:26:45 zpool clear data
2010-08-19.15:01:05 zpool scrub data
2010-09-05.04:00:03 zpool scrub data
2010-09-15.19:44:14 zpool clear data
2010-09-15.22:41:29 zpool clear data
2010-10-05.04:00:04 zpool scrub data
2010-10-06.08:22:05 zpool clear data
2010-10-08.22:45:10 zpool clear data
2010-11-05.04:00:04 zpool scrub data
2010-12-05.04:00:04 zpool scrub data
2010-12-22.14:46:27 zpool scrub data
2010-12-23.08:08:27 zpool replace -f data c6t0d0p0 c6t2d0p0
2010-12-23.20:27:17 zpool scrub data
2010-12-23.20:55:59 zpool replace -f data c6t2d0p0 c6t0d0p0
2010-12-24.01:34:37 zpool clear data
2010-12-24.01:51:21 zpool offline data c6t0d0p0
2010-12-24.01:53:05 zpool online data c6t0d0p0
2010-12-24.01:54:59 zpool export data
2010-12-24.01:55:57 zpool import data
2010-12-24.07:22:34 zpool scrub -s data
2010-12-24.07:37:08 zpool detach data c6t0d0p0
2010-12-24.07:38:14 zpool scrub data
2010-12-24.07:38:43 zpool scrub -s data
2010-12-24.07:39:15 zpool scrub data
2010-12-24.12:08:01 zpool clear data
2010-12-24.12:24:49 zpool clear data
2010-12-24.12:27:10 zpool clear data
2010-12-24.12:30:33 zpool scrub -s data
2010-12-24.12:31:05 zpool clear data
2010-12-24.12:37:56 zpool replace data c6t0d0p0 c6t2d0p0
2010-12-25.07:02:28 zpool scrub data
2010-12-25.07:34:09 zpool scrub -s data
2010-12-25.07:34:18 zpool clear data
2010-12-25.10:55:36 zpool replace data c6t2d0p0 c4t1d0
2010-12-25.20:01:19 zpool clear data
2010-12-25.20:01:52 zp

Re: [OpenIndiana-discuss] Zpool upgrade didn't seem to upgrade

2011-01-20 Thread Michelle Knight

>  SSD and HD can not be mixed.
> 
>  Regards
>  Edward

Apologies, the three drives at the bottom of the list are the 2tb ones.

There's no way I could afford a 2tb SSD on my local government salary!!!

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Enable samba

2011-01-20 Thread Christopher Chan

On Thursday, January 20, 2011 06:07 PM, Paul Johnston wrote:

On 01/19/11 10:09 PM, Christopher Chan wrote:

On Thursday, January 20, 2011 01:40 AM, Jonathan Adams wrote:

And I'm assuming that you've created an smb.conf file in /etc/sfw ...


Did that change again? I thought it was in /etc/samba?



Any idea where the smb.conf file should be?


With OpenIndiana, it appears that it will live in /etc/samba just like 
it does elsewhere besides Solaris.




There is a directory /etc/samba which has a file called smb.conf-example
which I have made a copy of called smb.conf just to see it the lack of
that file is causing the problem.


Most likely.




I have a smb.conf file

paulj@openindiana:/etc/samba$ ls -l
total 22
dr-x-- 2 root bin 2 2011-01-19 16:06 private
-r--r--r-- 1 root root 9662 2011-01-20 09:33 smb.conf
-r--r--r-- 1 root bin 9662 2011-01-19 16:06 smb.conf-example

Now

paulj@openindiana:/etc/samba$ pfexec svcadm clear samba
paulj@openindiana:/etc/samba$ pfexec svcs samba
STATE STIME FMRI
online 9:48:29 svc:/network/samba:default
paulj@openindiana:/etc/samba$ pfexec svcs -xv samba
svc:/network/samba:default (SMB file server)
State: online since January 20, 2011 09:48:29 AM GMT
See: man -M /usr/share/man -s 1m smbsmbd
See: man -M /usr/share/man -s 4 smb.conf
See: /var/svc/log/network-samba:default.log
Impact: None.
paulj@openindiana:/etc/samba$


WORKING!!!

At this point I am getting confused :-)
Wonder what exactly was causing it not to start and which thing caused
it to be able to start.


No smb.conf I would believe...



I am guessing it was the lack of a config file but cannot be sure.


No config, no startup. I suspect the logs would have pretty much said 
the same...in /var/samba/log/log.smbd



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Enable samba

2011-01-20 Thread Paul Johnston

 On 01/19/11 10:09 PM, Christopher Chan wrote:

On Thursday, January 20, 2011 01:40 AM, Jonathan Adams wrote:

And I'm assuming that you've created an smb.conf file in /etc/sfw ...


Did that change again? I thought it was in /etc/samba?



Any idea where the smb.conf file should be?
There is a directory /etc/samba which has a file called smb.conf-example 
which I have made a copy of called smb.conf just to see it the lack of 
that file is causing the problem.


I have a smb.conf file

paulj@openindiana:/etc/samba$ ls -l
total 22
dr-x-- 2 root bin 2 2011-01-19 16:06 private
-r--r--r-- 1 root root 9662 2011-01-20 09:33 smb.conf
-r--r--r-- 1 root bin  9662 2011-01-19 16:06 smb.conf-example

Now

paulj@openindiana:/etc/samba$ pfexec svcadm clear samba
paulj@openindiana:/etc/samba$ pfexec svcs samba
STATE  STIMEFMRI
online  9:48:29 svc:/network/samba:default
paulj@openindiana:/etc/samba$ pfexec svcs -xv samba
svc:/network/samba:default (SMB file server)
 State: online since January 20, 2011 09:48:29 AM GMT
   See: man -M /usr/share/man -s 1m smbsmbd
   See: man -M /usr/share/man -s 4 smb.conf
   See: /var/svc/log/network-samba:default.log
Impact: None.
paulj@openindiana:/etc/samba$


WORKING!!!

At this point I am getting confused :-)
Wonder what exactly was causing it not to start and which thing caused 
it to be able to start.

I am guessing it was the lack of a config file but cannot be sure.
How am I able to find which config file samba was looking at?
I've looked in /lib/svc/manifest/network/samba.xml but am no the wiser.

swat.xml says

paulj@openindiana:/lib/svc/manifest/network$ find . -name "swat.xml" 
-exec grep  "/smb.conf" {} \;
Swat support a browser interface to configure samba generating the 
/etc/samba/smb.conf .


But that is the only reference to the location of a config file I can find.

Regards Paul

Paul


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Zpool upgrade didn't seem to upgrade

2011-01-20 Thread Bernd Helber
Good Morning Michelle.

Am 20.01.11 08:05, schrieb Michelle Knight:
> hi Folks, 
> 
> OI 148.
> 
> Three 1.5tb drives were replaced with three 2tb drives. They are here on 
> internal SATA channels c2t2d0, c2t3d0 and c2t4d0. One is a Seagate Barracuda 
> and the other two are Western Digital Greens.
> 
> mich@jaguar:~# cfgadm -lv
> Ap_Id  Receptacle   Occupant Condition  
> Information
> When Type Busy Phys_Id
> Slot8  connectedconfigured   ok Location: 
> Slot8
> Jan  1  1970 unknown  n/devices/pci@0,0/pci8086,3b4a@1c,4:Slot8
> sata0/0::dsk/c2t0d0connectedconfigured   ok Mod: 
> INTEL 
> SSDSA2M040G2GC FRev: 2CV102HB SN: CVGB949301PH040GGN
> unavailable  disk n/devices/pci@0,0/pci1458,b005@1f,2:0
> sata0/1::dsk/c2t1d0connectedconfigured   ok Mod: 
> INTEL 
> SSDSA2M040G2GC FRev: 2CV102HB SN: CVGB949301PC040GGN
> unavailable  disk n/devices/pci@0,0/pci1458,b005@1f,2:1
> sata0/2::dsk/c2t2d0connectedconfigured   ok Mod: 
> ST32000542AS FRev: CC34 SN: 5XW17ARW
> unavailable  disk n/devices/pci@0,0/pci1458,b005@1f,2:2
> sata0/3::dsk/c2t3d0connectedconfigured   ok Mod: WDC 
> WD20EARS-00MVWB0 FRev: 51.0AB51 SN: WD-WMAZA075
> unavailable  disk n/devices/pci@0,0/pci1458,b005@1f,2:3
> sata0/4::dsk/c2t4d0connectedconfigured   ok Mod: WDC 
> WD20EARS-00MVWB0 FRev: 51.0AB51 SN: WD-WMAZA0484508
> 
> A zpool export and subsequent import, which should have taken the set to 4tb 
> overall storage in the raidz, appears to have not worked despite the import 
> taking what must have been about ten to fifteen minutes to do the import. 
> (during which time the drives were silent and the zpool process was mostly 0% 
> very occasionally peaking to 25%, and the system being very slow to respond 
> during that period)
>
Personally i assume the peaks were triggerd by  resilvering the pool.
Its not uncommon that you have a high load, if your pool is resilvering.


Best Practice in this case would have been creating a new Zpool,  e.g
raidz..

zfs send from $oldpool  zfs receive $newpool... :-(



I have three Questions for you.

First.. is this a production Box?

Second..  could you provide  the output of zpool history?

Third, no offence, but do you have proper Literature for ZFS?
If not please have a look at Solarisinternals

http://www.solarisinternals.com/wiki/index.php/Solaris_Internals_and_Performance_FAQ
http://www.solarisinternals.com/wiki/index.php/ZFS_Best_Practices_Guide

Or have a look at  the Open Solaris Bible.

Fourth... what would you like to achieve with OI ?

Sorry now i made four Questions out of it.  ;)




Cheers  :-)



> Any ideas please? Or is there still some process running in the background 
> that I can't see?
> 
> mich@jaguar:~# zfs list
> NAME USED  AVAIL  REFER  MOUNTPOINT
> data2.27T   401G  2.27T  /mirror
> rpool   7.69G  28.7G45K  /rpool
> rpool/ROOT  3.70G  28.7G31K  legacy
> rpool/ROOT/openindiana  3.70G  28.7G  3.59G  /
> rpool/dump  1.93G  28.7G  1.93G  -
> rpool/export5.22M  28.7G32K  /export
> rpool/export/home   5.19M  28.7G32K  /export/home
> rpool/export/home/mich  5.16M  28.7G  5.16M  /export/home/mich
> rpool/swap  2.05G  30.7G   126M  -
> 
> 
> mich@jaguar:~# zpool status
>   pool: data
>  state: ONLINE
>  scan: resilvered 1.13T in 12h26m with 0 errors on Wed Jan 19 23:42:23 2011
> config:
> 
> NAMESTATE READ WRITE CKSUM
> dataONLINE   0 0 0
>   raidz1-0  ONLINE   0 0 0
> c2t2d0  ONLINE   0 0 0
> c2t3d0  ONLINE   0 0 0
> c2t4d0  ONLINE   0 0 0
> 
> errors: No known data errors
> 
That took a very long time, for only 1 TB



> 
> last pid:  1802;  load avg:  0.61,  0.56,  0.61;  up 0+19:55:20
> 07:06:01
> 74 processes: 73 sleeping, 1 on cpu
> CPU states: 99.8% idle,  0.0% user,  0.3% kernel,  0.0% iowait,  0.0% swap
> Kernel: 375 ctxsw, 653 intr, 120 syscall
> Memory: 3959M phys mem, 401M free mem, 1979M total swap, 1979M free swap
> 
>PID USERNAME NLWP PRI NICE  SIZE   RES STATETIMECPU COMMAND
>   1197 gdm 1  590   95M   28M sleep1:23  0.04% gdm-simple-gree
>922 root3  590  102M   51M sleep0:37  0.02% Xorg
>   1801 root1  590 4036K 2460K cpu/30:00  0.01% top
>   1196 gdm 1  590   80M   13M sleep0:00  0.00% metacity
>   1190 gdm 1  590 7892K 6028K sleep0:00  0.00% at-spi-registry
>640 root   16  590   14M 9072K sleep0:09  0.00% smbd
>   1737 mich1  590   13M 5392K sleep0:00  0.00% sshd
>148 root1  590

Re: [OpenIndiana-discuss] Zpool upgrade didn't seem to upgrade

2011-01-20 Thread Edward Martinez

On 01/19/11 23:05, Michelle Knight wrote:

hi Folks,

OI 148.

Three 1.5tb drives were replaced with three 2tb drives. They are here on
internal SATA channels c2t2d0, c2t3d0 and c2t4d0. One is a Seagate Barracuda
and the other two are Western Digital Greens.

mich@jaguar:~# cfgadm -lv
Ap_Id  Receptacle   Occupant Condition
Information
When Type Busy Phys_Id
Slot8  connectedconfigured   ok Location:
Slot8
Jan  1  1970 unknown  n/devices/pci@0,0/pci8086,3b4a@1c,4:Slot8
sata0/0::dsk/c2t0d0connectedconfigured   ok Mod: INTEL
SSDSA2M040G2GC FRev: 2CV102HB SN: CVGB949301PH040GGN
unavailable  disk n/devices/pci@0,0/pci1458,b005@1f,2:0
sata0/1::dsk/c2t1d0connectedconfigured   ok Mod: INTEL
SSDSA2M040G2GC FRev: 2CV102HB SN: CVGB949301PC040GGN
unavailable  disk n/devices/pci@0,0/pci1458,b005@1f,2:1
sata0/2::dsk/c2t2d0connectedconfigured   ok Mod:
ST32000542AS FRev: CC34 SN: 5XW17ARW
unavailable  disk n/devices/pci@0,0/pci1458,b005@1f,2:2
sata0/3::dsk/c2t3d0connectedconfigured   ok Mod: WDC
WD20EARS-00MVWB0 FRev: 51.0AB51 SN: WD-WMAZA075
unavailable  disk n/devices/pci@0,0/pci1458,b005@1f,2:3
sata0/4::dsk/c2t4d0connectedconfigured   ok Mod: WDC
WD20EARS-00MVWB0 FRev: 51.0AB51 SN: WD-WMAZA0484508

A zpool export and subsequent import, which should have taken the set to 4tb
overall storage in the raidz, appears to have not worked despite the import
taking what must have been about ten to fifteen minutes to do the import.
(during which time the drives were silent and the zpool process was mostly 0%
very occasionally peaking to 25%, and the system being very slow to respond
during that period)

Any ideas please? Or is there still some process running in the background
that I can't see?

mich@jaguar:~# zfs list
NAME USED  AVAIL  REFER  MOUNTPOINT
data2.27T   401G  2.27T  /mirror
rpool   7.69G  28.7G45K  /rpool
rpool/ROOT  3.70G  28.7G31K  legacy
rpool/ROOT/openindiana  3.70G  28.7G  3.59G  /
rpool/dump  1.93G  28.7G  1.93G  -
rpool/export5.22M  28.7G32K  /export
rpool/export/home   5.19M  28.7G32K  /export/home
rpool/export/home/mich  5.16M  28.7G  5.16M  /export/home/mich
rpool/swap  2.05G  30.7G   126M  -


mich@jaguar:~# zpool status
   pool: data
  state: ONLINE
  scan: resilvered 1.13T in 12h26m with 0 errors on Wed Jan 19 23:42:23 2011
config:

 NAMESTATE READ WRITE CKSUM
 dataONLINE   0 0 0
   raidz1-0  ONLINE   0 0 0
 c2t2d0  ONLINE   0 0 0
 c2t3d0  ONLINE   0 0 0
 c2t4d0  ONLINE   0 0 0

errors: No known data errors


last pid:  1802;  load avg:  0.61,  0.56,  0.61;  up 0+19:55:20
07:06:01
74 processes: 73 sleeping, 1 on cpu
CPU states: 99.8% idle,  0.0% user,  0.3% kernel,  0.0% iowait,  0.0% swap
Kernel: 375 ctxsw, 653 intr, 120 syscall
Memory: 3959M phys mem, 401M free mem, 1979M total swap, 1979M free swap

PID USERNAME NLWP PRI NICE  SIZE   RES STATETIMECPU COMMAND
   1197 gdm 1  590   95M   28M sleep1:23  0.04% gdm-simple-gree
922 root3  590  102M   51M sleep0:37  0.02% Xorg
   1801 root1  590 4036K 2460K cpu/30:00  0.01% top
   1196 gdm 1  590   80M   13M sleep0:00  0.00% metacity
   1190 gdm 1  590 7892K 6028K sleep0:00  0.00% at-spi-registry
640 root   16  590   14M 9072K sleep0:09  0.00% smbd
   1737 mich1  590   13M 5392K sleep0:00  0.00% sshd
148 root1  590 8312K 1608K sleep0:00  0.00% dhcpagent
672 root   26  590   27M   15M sleep0:01  0.00% fmd
   1198 gdm 1  590   87M   18M sleep0:02  0.00% gnome-power-man
   1247 root1  590 6080K 2500K sleep0:00  0.00% sendmail
 11 root   21  590   15M   13M sleep0:06  0.00% svc.configd
272 root6  590   11M 4784K sleep0:01  0.00% devfsadm
   1220 root   24  590   13M 4404K sleep0:01  0.00% nscd
 45 netcfg  5  590 4716K 3268K sleep0:00  0.00% netcfgd
   1309 admin   1  590   16M 8404K sleep   14:30  0.00% sshd
   1312 admin   1  590   16M 5468K sleep3:47  0.00% sshd
787 root1  590   12M 5928K sleep0:05  0.00% intrd
   1237 root4  590 8400K 1936K sleep0:03  0.00% automountd
  9 root   15  590   20M   12M sleep0:02  0.00% svc.startd
387 root5  590 7500K 6024K sleep0:01  0.00% hald
   1308 root1  590   13M 4788K sleep0:01  0.00% sshd
252 root5  60  -20 2544