Re: [zfs-discuss] What about this status report

2010-03-29 Thread Harry Putnam
Harry Putnam  writes:

> Ethan  writes:
>
>>> Assuming your drives support SMART, I'd install smartmontools and see if
>> there are any SMART errors on the drive. While the absence of SMART errors
>
> [...]
>
>> I've had trouble getting smartmontools to work with some of my
>> controllers/drives in opensolaris, and have had better luck just booting
>> into a linux live cd, sometimes, so that may be something to keep in mind.
>
> Did you ever get it working on opensolaris?

Tonmaus  writes:

> Yes. Basically working here. All fine under ahci, some problems
> under mpt (smartctl says that WD1002fbys wouldn't allow to store
> smart events, which I think is probably nonsense.)

Thanks...   what is ahci and mpt?

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] Adaptec AAC driver

2010-03-29 Thread Bruno Sousa
Hello all,

Currently i'm evaluating a system with an Adaptec 52445 Raid HBA, and
the driver supplied by Opensolaris doesn't support JBOD drives.
I'm running snv_134 but when i try to do uninstall the SUNWacc driver i
have the following error :

pkgrm SUNWaac

The following package is currently installed:
 SUNWaac  Adaptec AdvanceRaid Controller SCSI HBA Driver
(i386) 11.11,REV=2010.02.17.03.06

Do you want to remove this package? [y,n,?,q] y
pkgrm: ERROR: unable to change current working directory to


Removal of  failed (internal error).
No changes were made to the system.

Does anyone knows how can i replace the opensolaris aac driver by the
Adaptec aac driver?

Thanks in advance,
Bruno



smime.p7s
Description: S/MIME Cryptographic Signature
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Adaptec AAC driver

2010-03-29 Thread Yariv Graf

Hi
I had the same problem with 2405
Remove aac of 134 and istall driver from adaptec . Driver for sol10u4
But working

10

On Mar 29, 2010, at 4:25 PM, "Bruno Sousa"  wrote:


Hello all,

Currently i'm evaluating a system with an Adaptec 52445 Raid HBA, and
the driver supplied by Opensolaris doesn't support JBOD drives.
I'm running snv_134 but when i try to do uninstall the SUNWacc  
driver i

have the following error :

pkgrm SUNWaac

The following package is currently installed:
 SUNWaac  Adaptec AdvanceRaid Controller SCSI HBA Driver
(i386) 11.11,REV=2010.02.17.03.06

Do you want to remove this package? [y,n,?,q] y
pkgrm: ERROR: unable to change current working directory to


Removal of  failed (internal error).
No changes were made to the system.

Does anyone knows how can i replace the opensolaris aac driver by the
Adaptec aac driver?

Thanks in advance,
Bruno


___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] FYI: Ben Rockwood: Solaris no longer free

2010-03-29 Thread Eugen Leitl

Just FYI, flame wars please >/dev/null

http://www.cuddletech.com/blog/pivot/entry.php?id=1120

Solaris No Longer Free

28 Mar '10 - 10:14 by benr

Hot on the heals of Oracle's revamp of Solaris support, the licensing agreement 
for free downloads of Solaris 10 have changed. Infoworld broke the news on 
Friday.

Here is the bit in question. Notice this paragraph in the Licensing Agreement:

"Obtaining an Entitlement Document is simple. On the Solaris 10 Get It page, 
select the platform and format you desire from the drop-down menus, and then 
click the Download Solaris 10 button. When you arrive at the Sun Download 
Center, either sign in or register, ensuring that a valid e-mail address is 
part of your Sun Download Center account to receive the Entitlement Document. 
Fill out the Solaris download survey, specifying the number of systems on which 
you are installing the software. Once you have completed the survey, you will 
be redirected to the Solaris 10 download page for downloading, and your 
Entitlement Document will be sent to your registered e-mail address. Please 
remember, your right to use Solaris acquired as a download is limited to a 
trial of 90 days, unless you acquire a service contract for the downloaded 
Software."

That's the part that is that gets the interest... but here's the part that is 
more serious. Here is a line from the old license:

"In order to use the Solaris 10 Operating System for perpetual commercial use, 
each system running the Solaris 10 OS must have an entitlement to do so. The 
Entitlement Document is delivered to you either with a new Sun system, from Sun 
Services as part of your service agreement, or via e-mail when you register 
your systems through the Sun Download Center."

Notice the end of the line, "or via email when you register your systems 
through the SDC". Look at those 2 sentences in the new document:

"In order to use the Solaris operating system for perpetual commercial use, 
each system running Solaris must be expressly licensed to do so. An Entitlement 
Document comprises such license and is delivered to you either with a new Sun 
system or from Sun Services as part of your service agreement."

Notice something missing? Now the only entitlement docs come from a new "Sun 
System" or a service contract. This is the basis for the aforementioned "Please 
remember..."

Under the old agreement Solaris was only a 90 day trial if you failed to 
register... however, now its a 90 day trial only if you register. An important 
question to be answered is: What about agreements with other equipment makers 
such as HP and Dell? Previously those agreements didn't really matter much 
outside of marketing because you could buy a Supermicro and register it for an 
entitlement... but now?

So far the OpenSolaris license has not changed, it's still CDDL.

So long as OpenSolaris remains free this isn't the end of the world... but now 
all eyes turn to OpenSolaris's fate. The end of the month is here and 
OpenSolaris 2010.03 is no where in site and those I've asked on the inside are 
unable to say.

This might be a good time to catch up on non-Sun/Oracle distros such as 
Nexenta, Schillix, and Belenix.

When combined with the support revamp and the impending Solaris 11 based on 
IPS, the message seems clear. Out with the old, in with the new. There may be 
attractive offerings for new customers in the high-end enterprise space, but 
long time supporters in smaller shops are going to get royally screwed.

- - C O M M E N T S - -

Sounds pretty bad. Oracle might try to marginalize OpenSolaris and present it 
as a mere toy for experiments, not fitting for usage in production. So it’s 
will be up to community to change that and ensure that it will be a high 
quality product fitting serious tasks. Only if Oracle will not try to thwart 
that.

shmerl - 28 March '10 - 23:20
Pretty sure the license small type changed well before the tech journos ever 
broke the news on it, but whatever. Still hugely shortsighted though.

Spent yesterday giving FreeBSD a spin.

:/

Dave - 28 March '10 - 23:41
Also, how does this apply to NON-commercial use (e.g., the hobbyist segment)?

Bill Bradford (Email) (URL) - 29 March '10 - 02:19
Another good question Bill. Maybe I should write yet another Open Letter… I’ll 
start a series on the blog. :)

btw, my “Open Letter to Oracle” got absolutely no reaction. No one contacted 
me, nothing. I know people at Sun saw it, especially thanks to the Register 
article, but no response.

benr - 29 March '10 - 02:30
Ben, please do.

I’m genuinely curious to know how folk wanting to learn HP-UX or AIX for 
example get a start in learning the ropes with a view to finding employment 
using those systems, given that those OSs are not anything approaching readily 
available nor I imagine affordable, and now that Solaris has ended up in a 
similar boat. Surely it would be in Oracle’s best possible interest to foster 
hobbyist or casual non-commercial use or tinker

Re: [zfs-discuss] Adaptec AAC driver

2010-03-29 Thread Cyril Plisko
On Mon, Mar 29, 2010 at 4:25 PM, Bruno Sousa  wrote:
> Hello all,
>
> Currently i'm evaluating a system with an Adaptec 52445 Raid HBA, and
> the driver supplied by Opensolaris doesn't support JBOD drives.
> I'm running snv_134 but when i try to do uninstall the SUNWacc driver i
> have the following error :
>
> pkgrm SUNWaac
>
> The following package is currently installed:
>  SUNWaac  Adaptec AdvanceRaid Controller SCSI HBA Driver
>            (i386) 11.11,REV=2010.02.17.03.06
>
> Do you want to remove this package? [y,n,?,q] y
> pkgrm: ERROR: unable to change current working directory to
> 
>
> Removal of  failed (internal error).
> No changes were made to the system.
>
> Does anyone knows how can i replace the opensolaris aac driver by the
> Adaptec aac driver?

On OpenSolaris you shouldnt use SVR4 pkg* commands - it is uses pkg(5) (aka IPS)

Try ´pkg uninstall aac´ or use packagemanager to remove the aac driver package


-- 
Regards,
Cyril
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Adaptec AAC driver

2010-03-29 Thread Bruno Sousa
 pkg uninstall aac
Creating Planpkg: Cannot remove
'pkg://opensolaris.org/driver/storage/a...@0.5.11
,5.11-0.134:20100302T021758Z' due to the following packages that depend
on it:
 
pkg://opensolaris.org/storage/storage-ser...@0.1,5.11-0.134:20100302T050950Z

pkg uninstall aac storage-server
pkg: Requested "uninstall" operation would affect files that cannot be
modified in live image.
Please retry this operation on an alternate boot environment.


So...how can i remove the driver from my environment.

Thanks in advance,
Bruno

On 29-3-2010 15:50, Cyril Plisko wrote:
> On Mon, Mar 29, 2010 at 4:25 PM, Bruno Sousa  wrote:
>   
>> Hello all,
>>
>> Currently i'm evaluating a system with an Adaptec 52445 Raid HBA, and
>> the driver supplied by Opensolaris doesn't support JBOD drives.
>> I'm running snv_134 but when i try to do uninstall the SUNWacc driver i
>> have the following error :
>>
>> pkgrm SUNWaac
>>
>> The following package is currently installed:
>>  SUNWaac  Adaptec AdvanceRaid Controller SCSI HBA Driver
>>(i386) 11.11,REV=2010.02.17.03.06
>>
>> Do you want to remove this package? [y,n,?,q] y
>> pkgrm: ERROR: unable to change current working directory to
>> 
>>
>> Removal of  failed (internal error).
>> No changes were made to the system.
>>
>> Does anyone knows how can i replace the opensolaris aac driver by the
>> Adaptec aac driver?
>> 
> On OpenSolaris you shouldnt use SVR4 pkg* commands - it is uses pkg(5) (aka 
> IPS)
>
> Try ´pkg uninstall aac´ or use packagemanager to remove the aac driver package
>
>
>   




smime.p7s
Description: S/MIME Cryptographic Signature
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] Adaptec AAC driver - Howto

2010-03-29 Thread Bruno Sousa
Hi all,

I recently had to install the Adaptec AAC driver in a Opensolaris
system, and given the fact that i had to do a couple of steps, i might
as well share them , and hopefully someone will benefit it.

So here goes :

1 - The adaptec AAC driver is needed when we have drives configured as
JBOD in adaptec raid HBA
2 - Get the proper driver from adaptec website
3 - create a clone of the existing environment with the command :

* beadm create opensolaris_aacdriver

4 -  mount the new envirnoment under some directory like (mnt/aacdriver)

* beadm mount opensolaris_aacdriver /mnt/aacdriver

5 - remove the opensolaris acc driver from the new environment

* pkg -R /mnt/aacdriver uninstall aac storage-server (storage-server
  in my case was a dependency pac
* kage)

6 - extract the previous downloaded adaptec driver, say to
/tmp/adaptec_aac, and install it

* pkgadd -R /mnt/aacdriver  -d aac.pkg

7 - unmount the new boot environment

* beadm unmount -f opensolaris_aacdriver

8 - active the new boot environment

* beadm activate opensolaris_aacdriver

9 - reboot ;)

* reboot -p

I tested this with a Adapatec 52445 - (Kernel Build 17544)


Regards,
Bruno





smime.p7s
Description: S/MIME Cryptographic Signature
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] What about this status report

2010-03-29 Thread Tonmaus
Both are driver modules for storage adapters
Properties can be reviewed in the documentation:
ahci: http://docs.sun.com/app/docs/doc/816-5177/ahci-7d?a=view
mpt: http://docs.sun.com/app/docs/doc/816-5177/mpt-7d?a=view
ahci has a man entry on b133, as well.

cheers,

Tonmaus
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Adaptec AAC driver

2010-03-29 Thread James Lee
On 03/29/2010 09:32 AM, Yariv Graf wrote:
> Hi
> I had the same problem with 2405
> Remove aac of 134 and istall driver from adaptec . Driver for sol10u4
> 
> On Mar 29, 2010, at 4:25 PM, "Bruno Sousa"  > wrote:
>> Currently i'm evaluating a system with an Adaptec 52445 Raid HBA, and
>> the driver supplied by Opensolaris doesn't support JBOD drives.

FYI, there is a bug report open for this issue:

http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6862536

Hopefully we'll see some action on it soon.

James
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Adaptec AAC driver

2010-03-29 Thread Cyril Plisko
On Mon, Mar 29, 2010 at 4:57 PM, Bruno Sousa  wrote:
>  pkg uninstall aac
> Creating Planpkg: Cannot remove
> 'pkg://opensolaris.org/driver/storage/a...@0.5.11
> ,5.11-0.134:20100302T021758Z' due to the following packages that depend
> on it:
>
> pkg://opensolaris.org/storage/storage-ser...@0.1,5.11-0.134:20100302T050950Z
>
> pkg uninstall aac storage-server
> pkg: Requested "uninstall" operation would affect files that cannot be
> modified in live image.
> Please retry this operation on an alternate boot environment.
>
>
> So...how can i remove the driver from my environment.

beadm create newbe
beadm mount newbe /newbe
pkg -R /newbe uninstall aac
beadm umount newbe
beadm activate newbe
reboot

A bit long, but you ultimately gives you fully recoverable setup in
case something goes south.


>
> Thanks in advance,
> Bruno
>





> On 29-3-2010 15:50, Cyril Plisko wrote:
>> On Mon, Mar 29, 2010 at 4:25 PM, Bruno Sousa  wrote:
>>
>>> Hello all,
>>>
>>> Currently i'm evaluating a system with an Adaptec 52445 Raid HBA, and
>>> the driver supplied by Opensolaris doesn't support JBOD drives.
>>> I'm running snv_134 but when i try to do uninstall the SUNWacc driver i
>>> have the following error :
>>>
>>> pkgrm SUNWaac
>>>
>>> The following package is currently installed:
>>>  SUNWaac  Adaptec AdvanceRaid Controller SCSI HBA Driver
>>>            (i386) 11.11,REV=2010.02.17.03.06
>>>
>>> Do you want to remove this package? [y,n,?,q] y
>>> pkgrm: ERROR: unable to change current working directory to
>>> 
>>>
>>> Removal of  failed (internal error).
>>> No changes were made to the system.
>>>
>>> Does anyone knows how can i replace the opensolaris aac driver by the
>>> Adaptec aac driver?
>>>
>> On OpenSolaris you shouldnt use SVR4 pkg* commands - it is uses pkg(5) (aka 
>> IPS)
>>
>> Try ´pkg uninstall aac´ or use packagemanager to remove the aac driver 
>> package
>>
>>
>>
>
>
>



-- 
Regards,
Cyril
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zpool split problem?

2010-03-29 Thread Mark J Musante

On Sat, 27 Mar 2010, Frank Middleton wrote:


Started with c0t1d0s0 running b132  (root pool is called rpool)
Attached c0t0d0s0 and waited for it to resilver
Rebooted from c0t0d0s0
zpool split rpool spool
Rebooted from c0t0d0s0, both rpool and spool were mounted
Rebooted from c0t1d0s0, only rpool was mounted


OK, I will try to reproduce that here and see what happens.


Regards,
markm

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Cannot replace a replacing device

2010-03-29 Thread Mark J Musante

On Mon, 29 Mar 2010, Victor Latushkin wrote:



On Mar 29, 2010, at 1:57 AM, Jim wrote:


Yes - but it does nothing. The drive remains FAULTED.


Try to detach one of the failed devices:

zpool detach tank 4407623704004485413



As Victor says, the detach should work.  This is a known issue and I'm 
currently in the process of fixing it.


Here's a bit more info:

http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6782540
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] b134 - Mirrored rpool won't boot unless both mirrors are present

2010-03-29 Thread Richard Jahnel
Exactly where in the menu.lst would I put the -r ?

Thanks in advance.
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] sharing a ssd between rpool and l2arc

2010-03-29 Thread F. Wessels
Hi,

as Richard Elling wrote earlier:
"For more background, low-cost SSDs intended for the boot market are
perfect candidates. Take a X-25V @ 40GB and use 15-20 GB for root
and the rest for an L2ARC. For small form factor machines or machines
with max capacity of 8GB of RAM (a typical home system) this can make a
pleasant improvement over a HDD-only implementation."

For the upcoming 2010.03 release and now testing with a b134.
What is the most appropiate way to accomplish this?

The caiman installer allows you to control the size of the partition on the 
boot disk but it doesn't allow you (at least I couldn't figure out how) to 
control the size of the slices. So you end with slice0 filling the entire 
partition. 
Now this leaves you with two options, create a second partition or start a 
complex process of backing up the root pool, reslicing the first partition, 
restore the root pool and pray that the system will boot again.
I tried the first, knowing that multiple partitions isn't recommended. I 
couldn't get zfs to add the second partition as L2ARC. It simply said that it 
wasn't supported.
Before I try the second option perhaps somebody can give some directions howto 
accomplish a shared rpool and l2arc on a (ss)disk.

Regards,

Frederik
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Cannot replace a replacing device

2010-03-29 Thread Jim
Thanks for the suggestion, but have tried detaching but it refuses reporting no 
valid replicas. Capture below.

C3P0# zpool status
  pool: tank
 state: DEGRADED
 scrub: none requested
config:

NAME   STATE READ WRITE CKSUM
tank   DEGRADED 0 0 0
  raidz1   DEGRADED 0 0 0
ad4ONLINE   0 0 0
ad6ONLINE   0 0 0
replacing  UNAVAIL  0 9.77K 0  insufficient 
replicas
  1796873336336467178  UNAVAIL  0 11.6K 0  was /dev/ad7/old
  4407623704004485413  FAULTED  0 10.4K 0  was /dev/ad7

errors: No known data errors
C3P0# zpool detach tank 1796873336336467178
cannot detach 1796873336336467178: no valid replicas
C3P0# zpool detach tank 4407623704004485413
cannot detach 4407623704004485413: no valid replicas
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Cannot replace a replacing device

2010-03-29 Thread Jim
Thanks for the suggestion, but have tried detaching but it refuses reporting no 
valid replicas. Capture below.

C3P0# zpool status
pool: tank
state: DEGRADED
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
tank DEGRADED 0 0 0
raidz1 DEGRADED 0 0 0
ad4 ONLINE 0 0 0
ad6 ONLINE 0 0 0
replacing UNAVAIL 0 9.77K 0 insufficient replicas
1796873336336467178 UNAVAIL 0 11.6K 0 was /dev/ad7/old
4407623704004485413 FAULTED 0 10.4K 0 was /dev/ad7

errors: No known data errors
C3P0# zpool detach tank 1796873336336467178
cannot detach 1796873336336467178: no valid replicas
C3P0# zpool detach tank 4407623704004485413
cannot detach 4407623704004485413: no valid replicas
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] What about this status report

2010-03-29 Thread Harry Putnam
Just to apologize

This not only sounds lame but IS pretty lame.

Somehow in reading the output of `zpool status POOL', I just blew right
by the URL included there:
  http://www.sun.com/msg/ZFS-8000-9P

Which has quite a decent discussion of what it means.

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zpool "cannot replace a replacing device"

2010-03-29 Thread Miles Nordin
> "cm" == Courtney Malone  writes:
> "j" == Jim   writes:

 j> Thanks for the suggestion, but have tried detaching but it
 j> refuses reporting no valid replicas.

yeah this happened to someone else also, see list archives around
2008-12-03:

cm> I have a 10 drive raidz, recently one of the disks appeared to
cm> be generating errors (this later turned out to be a cable),

cm> # zpool replace data 17096229131581286394 c0t2d0

cm> cannot replace 17096229131581286394 with c0t2d0: cannot
cm> replace a replacing device

cm> if i try to detach it i get:

cm> # zpool detach data 17096229131581286394

cm> cannot detach 17096229131581286394: no valid replicas


pgpKVbb2twZdu.pgp
Description: PGP signature
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] zfs recreate questions

2010-03-29 Thread JD Trout
I have a quick ZFS question.  With most hardware raid controllers all the data 
and the info is stored on the disk. Therefore, the integrity of the data can 
survive a controller failure or the deletion of the LUN  as long as it is 
recreated with the same drives in the same location.  Does this kind of 
functionality exists within ZFS? 

For example, lets say I have a JOB full of disks connected to an server running 
OSOL and all the drives are formated as one big  raidz volume. Now lets say I 
experience a hardware failure and I have to bring in a new server with a new 
installation of OSOL. Would I be able to put the raidz volume from the JBOD 
back together so I can see the original data? 

Thanks for any input.
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs recreate questions

2010-03-29 Thread Manoj Joseph
JD Trout wrote:
> I have a quick ZFS question.  With most hardware raid controllers all
> the data and the info is stored on the disk. Therefore, the integrity
> of the data can survive a controller failure or the deletion of the
> LUN  as long as it is recreated with the same drives in the same
> location.  Does this kind of functionality exists within ZFS?
> 
> For example, lets say I have a JOB full of disks connected to an
> server running OSOL and all the drives are formated as one big  raidz
> volume. Now lets say I experience a hardware failure and I have to
> bring in a new server with a new installation of OSOL. Would I be
> able to put the raidz volume from the JBOD back together so I can see
> the original data?

The zpool metadata is also on the disk. As long as the disks are fine,
you can reconnect them to another server and import them. ZFS will be
able to find the zpools (in this case raidz volume).

-Manoj

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] zfs diff

2010-03-29 Thread David Magda

A new ARC case:


There is a long-standing RFE for zfs to be able to describe what has
changed between the snapshots of a dataset.  To provide this
capability, we propose a new 'zfs diff' sub-command.  When run with
appropriate privilege the sub-command describes what file system level
changes have occurred between the requested snapshots.  A diff between
the current version of the file system and one of its snapshots is
also supported.

Five types of change are described:

oFile/Directory modified
oFile/Directory present in older snapshot but not newer
oFile/Directory present in newer snapshot but not older
oFile/Directory renamed
oFile link count changed



http://arc.opensolaris.org/caselog/PSARC/2010/105/

Via c0t0d0s0.org

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs diff

2010-03-29 Thread Nicolas Williams
One really good use for zfs diff would be: as a way to index zfs send
backups by contents.

Nico
-- 
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs recreate questions

2010-03-29 Thread JD Trout
That is great to hear.  What is the command to do this?  I setup a test 
situation and I would like to give it a try.
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs recreate questions

2010-03-29 Thread Brandon High
On Mon, Mar 29, 2010 at 3:49 PM, JD Trout  wrote:

> That is great to hear.  What is the command to do this?  I setup a test
> situation and I would like to give it a try.
>

If you can plan the removal, simply 'zpool export' your pool, then 'zpool
import' it on the new controller / host.

If you don't do an export, use 'zpool import -f' to force it.

-B

-- 
Brandon High : bh...@freaks.com
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs diff

2010-03-29 Thread Nicolas Williams
zfs diff is incredibly cool.
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs diff

2010-03-29 Thread Bruno Sousa
On 30-3-2010 0:39, Nicolas Williams wrote:
> One really good use for zfs diff would be: as a way to index zfs send
> backups by contents.
>
> Nico
>   


Any prevision about the release target? snv_13x?

Bruno



smime.p7s
Description: S/MIME Cryptographic Signature
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] pool won't import

2010-03-29 Thread Tom Bird

r...@cs6:~# zpool import
  pool: content3
id: 14184872052409584084
 state: FAULTED
status: The pool metadata is corrupted.
action: The pool cannot be imported due to damaged devices or data.
The pool may be active on another system, but can be imported using
the '-f' flag.
   see: http://www.sun.com/msg/ZFS-8000-72
config:

content3FAULTED  corrupted data
  c6t8d0ONLINE
r...@cs6:~# uname -a
SunOS cs6.kw.bbc.co.uk 5.11 snv_116 sun4v sparc SUNW,SPARC-Enterprise-T5220
r...@cs6:~# zpool import -f content3
cannot import 'content3': I/O error


Ideas, anyone?

--
Tom

// www.portfast.co.uk -- internet services and consultancy
// hosting from 1.65 per domain
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs diff

2010-03-29 Thread Mike Gerdts
On Mon, Mar 29, 2010 at 5:39 PM, Nicolas Williams
 wrote:
> One really good use for zfs diff would be: as a way to index zfs send
> backups by contents.

Or to generate the list of files for incremental backups via NetBackup
or similar.  This is especially important for file systems will
millions of files with relatively few changes.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs recreate questions

2010-03-29 Thread JD Trout
Perfect.  Thanks!
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs diff

2010-03-29 Thread Bart Smaalders

On 03/29/10 16:44, Mike Gerdts wrote:

On Mon, Mar 29, 2010 at 5:39 PM, Nicolas Williams
  wrote:

One really good use for zfs diff would be: as a way to index zfs send
backups by contents.


Or to generate the list of files for incremental backups via NetBackup
or similar.  This is especially important for file systems will
millions of files with relatively few changes.



Or to say keep indexing files on your desktop
This gives everyone a way to access the changes in a filesystem
order (number of files changed) instead of order(number of files extant).

- Bart


--
Bart Smaalders  Solaris Kernel Performance
bart.smaald...@oracle.com   http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird."
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs diff

2010-03-29 Thread Daniel Carosone
On Mon, Mar 29, 2010 at 06:38:47PM -0400, David Magda wrote:
> A new ARC case:

I read this earlier this morning.  Welcome news indeed!

I have some concerns about the output format, having worked with
similar requirements in the past. In particular: as part of the
monotone VCS when reporting workspace changes and also as a consumer
of similar-purpose output from rsync when building backup catalog
databases of what changed each run.

I'm not familiar with the ARC process; where should these concerns be
directed so as to make a difference? [pun only slightly intended]

At the risk of prompting discussion here rather than the right
place.. These relate in several ways to the use of the name as the
only identifier. 

For example, it's not clear that the proposed output lets
me tell which new filenames are new links to which existing file, or
even whether added file names are new files or just new links.

There will also need to be clear rules on output ordering, with
respect to renames, where multiple changes have happened to renamed
files. 

Some of these concerns might be better addressed with clearer examples
/ use cases.  Consider the commmon case of a file having been replaced
with another: say, an editor that renames the old file and creates and
rewrites a new file with the same name. It may remove the old, or keep
it as a "backup" and maybe delete the previous backup. Would this be
reported as a series of renames and adds and deletes (tracking the
node), or merely as a content change (tracking the name)? Now consider
that the file may have had links.  

I'm concerned that the proposed output format does not represent this
and similar cases well.  I realise it's not intended to convey all of
the details of what changed, merely to flag which files should be
checked for further information.

I also think distinguishing content-change from attribute-change
(e.g. chmod/chown) would be highly useful to potential consumers.

--
Dan.

pgp2ES92zFu3U.pgp
Description: PGP signature
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] pool won't import

2010-03-29 Thread Richard Elling
On Mar 29, 2010, at 4:42 PM, Tom Bird wrote:

> r...@cs6:~# zpool import
>  pool: content3
>id: 14184872052409584084
> state: FAULTED
> status: The pool metadata is corrupted.
> action: The pool cannot be imported due to damaged devices or data.
>The pool may be active on another system, but can be imported using
>the '-f' flag.
>   see: http://www.sun.com/msg/ZFS-8000-72
> config:
> 
>content3FAULTED  corrupted data
>  c6t8d0ONLINE
> r...@cs6:~# uname -a
> SunOS cs6.kw.bbc.co.uk 5.11 snv_116 sun4v sparc SUNW,SPARC-Enterprise-T5220
> r...@cs6:~# zpool import -f content3
> cannot import 'content3': I/O error
> 
> 
> Ideas, anyone?

What does "zdb -l /dev/rdsk/c6t8d0s2" say?
 -- richard

ZFS storage and performance consulting at http://www.RichardElling.com
ZFS training on deduplication, NexentaStor, and NAS performance
Las Vegas, April 29-30, 2010 http://nexenta-vegas.eventbrite.com 





___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs diff

2010-03-29 Thread Daniel Carosone
On Tue, Mar 30, 2010 at 12:37:15PM +1100, Daniel Carosone wrote:
> There will also need to be clear rules on output ordering, with
> respect to renames, where multiple changes have happened to renamed
> files. 

Separately, but relevant in particular to the above due to the
potential for races:  what is the defined behaviour when diffing
against a live filesystem (rather than a snapshot)? 

is there an implied snapshot (ie, diff based on content frozen at
txg_id when started) or is thhe comparison done against a moving
target? 

It's not just a question of implementation if it can affect the
output, especially if it can make it internally inconsistent.

--
Dan.


pgpmdu8t9ynKx.pgp
Description: PGP signature
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs diff

2010-03-29 Thread Tim Haley

On 3/29/10 8:02 PM, Daniel Carosone wrote:

On Tue, Mar 30, 2010 at 12:37:15PM +1100, Daniel Carosone wrote:


There will also need to be clear rules on output ordering, with
respect to renames, where multiple changes have happened to renamed
files.


Separately, but relevant in particular to the above due to the
potential for races:  what is the defined behaviour when diffing
against a live filesystem (rather than a snapshot)?

is there an implied snapshot (ie, diff based on content frozen at
txg_id when started) or is thhe comparison done against a moving
target?

It's not just a question of implementation if it can affect the
output, especially if it can make it internally inconsistent.

--
Dan.



Yes, a snapshot is taken and removed once the compare is performed.

-tim

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] pool won't import

2010-03-29 Thread Tim Haley

On 3/29/10 7:52 PM, Richard Elling wrote:

On Mar 29, 2010, at 4:42 PM, Tom Bird wrote:

   

r...@cs6:~# zpool import
  pool: content3
id: 14184872052409584084
state: FAULTED
status: The pool metadata is corrupted.
action: The pool cannot be imported due to damaged devices or data.
The pool may be active on another system, but can be imported using
the '-f' flag.
   see: http://www.sun.com/msg/ZFS-8000-72
config:

content3FAULTED  corrupted data
  c6t8d0ONLINE
r...@cs6:~# uname -a
SunOS cs6.kw.bbc.co.uk 5.11 snv_116 sun4v sparc SUNW,SPARC-Enterprise-T5220
r...@cs6:~# zpool import -f content3
cannot import 'content3': I/O error


Ideas, anyone?
 

What does "zdb -l /dev/rdsk/c6t8d0s2" say?
  -- richard

ZFS storage and performance consulting at http://www.RichardElling.com
ZFS training on deduplication, NexentaStor, and NAS performance
Las Vegas, April 29-30, 2010 http://nexenta-vegas.eventbrite.com


   
Newer bits (>=129) will try to determine if your un-importable pool can 
be helped with a "rewind".  This reverts
the pool back in time a short while, so some data is lost, but you get 
your pool back.


-tim

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] sharing a ssd between rpool and l2arc

2010-03-29 Thread Daniel Carosone
On Mon, Mar 29, 2010 at 01:10:22PM -0700, F. Wessels wrote:
> The caiman installer allows you to control the size of the partition
> on the boot disk but it doesn't allow you (at least I couldn't
> figure out how) to control the size of the slices. So you end with
> slice0 filling the entire partition.  
> 
> Now this leaves you with two options, create a second partition or
> start a complex process of backing up the root pool, reslicing the
> first partition, restore the root pool and pray that the system will
> boot again. 

You can:
 - install to a partition that's the size you want rpool
 - expand the partition to the full disk
 - leave the s0 slice for rpool alone
 - make another slice for l2arc in the newly available space

Or you can:
 - use a zvol for the l2arc and forget all this partitioning crap like
   zfs intended.

--
Dan.


pgpz9kBMTBNou.pgp
Description: PGP signature
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] sharing a ssd between rpool and l2arc

2010-03-29 Thread Daniel Carosone
On Tue, Mar 30, 2010 at 03:13:45PM +1100, Daniel Carosone wrote:
> You can:
>  - install to a partition that's the size you want rpool
>  - expand the partition to the full disk
 - expand the s2 slice to the full disk
>  - leave the s0 slice for rpool alone
>  - make another slice for l2arc in the newly available space

Emacs ate that extra line, i swear.

--
Dan.

pgpyKZqUT5mi9.pgp
Description: PGP signature
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs diff

2010-03-29 Thread Ian Collins

On 03/30/10 12:44 PM, Mike Gerdts wrote:

On Mon, Mar 29, 2010 at 5:39 PM, Nicolas Williams
  wrote:
   

One really good use for zfs diff would be: as a way to index zfs send
backups by contents.
 

Or to generate the list of files for incremental backups via NetBackup
or similar.  This is especially important for file systems will
millions of files with relatively few changes.
   

Or to generate the list of files for virus scanning!

--
Ian.

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Adaptec AAC driver

2010-03-29 Thread Bruno Sousa
Thanks..it was what i had to do .

Bruno

On 29-3-2010 19:12, Cyril Plisko wrote:
> On Mon, Mar 29, 2010 at 4:57 PM, Bruno Sousa  wrote:
>   
>>  pkg uninstall aac
>> Creating Planpkg: Cannot remove
>> 'pkg://opensolaris.org/driver/storage/a...@0.5.11
>> ,5.11-0.134:20100302T021758Z' due to the following packages that depend
>> on it:
>>
>> pkg://opensolaris.org/storage/storage-ser...@0.1,5.11-0.134:20100302T050950Z
>>
>> pkg uninstall aac storage-server
>> pkg: Requested "uninstall" operation would affect files that cannot be
>> modified in live image.
>> Please retry this operation on an alternate boot environment.
>>
>>
>> So...how can i remove the driver from my environment.
>> 
> beadm create newbe
> beadm mount newbe /newbe
> pkg -R /newbe uninstall aac
> beadm umount newbe
> beadm activate newbe
> reboot
>
> A bit long, but you ultimately gives you fully recoverable setup in
> case something goes south.
>
>
>   
>> Thanks in advance,
>> Bruno
>>
>> 
>
>
>
>
>   
>> On 29-3-2010 15:50, Cyril Plisko wrote:
>> 
>>> On Mon, Mar 29, 2010 at 4:25 PM, Bruno Sousa  wrote:
>>>
>>>   
 Hello all,

 Currently i'm evaluating a system with an Adaptec 52445 Raid HBA, and
 the driver supplied by Opensolaris doesn't support JBOD drives.
 I'm running snv_134 but when i try to do uninstall the SUNWacc driver i
 have the following error :

 pkgrm SUNWaac

 The following package is currently installed:
  SUNWaac  Adaptec AdvanceRaid Controller SCSI HBA Driver
(i386) 11.11,REV=2010.02.17.03.06

 Do you want to remove this package? [y,n,?,q] y
 pkgrm: ERROR: unable to change current working directory to
 

 Removal of  failed (internal error).
 No changes were made to the system.

 Does anyone knows how can i replace the opensolaris aac driver by the
 Adaptec aac driver?

 
>>> On OpenSolaris you shouldnt use SVR4 pkg* commands - it is uses pkg(5) (aka 
>>> IPS)
>>>
>>> Try ´pkg uninstall aac´ or use packagemanager to remove the aac driver 
>>> package
>>>
>>>
>>>
>>>   
>>
>>
>> 
>
>
>   




smime.p7s
Description: S/MIME Cryptographic Signature
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss