Re: [zfs-discuss] changing zpool disk names
Hi, the simplest way, export & import are your friends ! $ *zpool status -v* pool: oldpool state: ONLINE scrub: none requested config: NAMESTATE READ WRITE CKSUM oldpool ONLINE 0 0 0 c0d1 ONLINE 0 0 0 c1d0 ONLINE 0 0 0 c1d1 ONLINE 0 0 0 Now just $ *zpool export oldpool* and import with the new name $ *zpool import oldpool newpool* every device in the pool is transfered to the new pool, no need of -d. $ *zpool status -v* pool: newpool state: ONLINE scrub: none requested config: NAMESTATE READ WRITE CKSUM newpool ONLINE 0 0 0 c0d1 ONLINE 0 0 0 c1d0 ONLINE 0 0 0 c1d1 ONLINE 0 0 0 errors: No known data errors kind regards, Moutacim Bob Friesenhahn schrieb: On Thu, 14 May 2009, Peter Wilk wrote: I am dealing with a 15K domain with the storage disks residing on an EMC CX700 CLARiiON SAN. When I created the ZPOOL, I only had the disk names themselves. We are using PowerPath and Operations support now wants me to use the emcpower device names, instead of the actual disk names. My questions are: 1. Is there a best practices for switching the names of the devices in the ZPOOL without destroying the data already contained in the ZFS File system? Provided that you have a way to block the devices you don't want used, I think that this should be a simple matter of 'zpool export' followed by 'zpool import'. Zpool import will scan the available devices looking for importable pools. According to the documentation for 'zpool import' a numeric identifier may be used to select a pool to import. I don't know if this allows you to select between sets of devices leading to the same pool. If the devices are in different /dev directories, then you can specify which directory of devices to use with the -d option. Bob -- Bob Friesenhahn bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer,http://www.GraphicsMagick.org/ ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss -- Moutacim LACHHAB Service Engineer Software Technical Services Center Sun Microsystems Inc. Email moutacim.lach...@sun.com <mailto:moutacim.lach...@sun.com> +33(0)134030594 x31457 For knowledge and support: http://sunsolve.sun.com ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] zfs raidz questions
You can add disks to to a RAID-Z configuration. The following shows how to convert a storage pool with one RAID–Z device to storage pool with two RAID-Z devices with 3 disks. # *zpool status* pool: rpool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM rpoolONLINE 0 0 0 raidz1 ONLINE 0 0 0 c1t2d0 ONLINE 0 0 0 c1t3d0 ONLINE 0 0 0 c1t4d0 ONLINE 0 0 0 errors: No known data errors # *zpool add rpool raidz c2t2d0 c2t3d0 c2t4d0* # *zpool status* pool: rpool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM rpoolONLINE 0 0 0 raidz1 ONLINE 0 0 0 c1t2d0 ONLINE 0 0 0 c1t3d0 ONLINE 0 0 0 c1t4d0 ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c2t2d0 ONLINE 0 0 0 c2t3d0 ONLINE 0 0 0 c2t4d0 ONLINE 0 0 0 errors: No known data errors kind regards, Moutacim robert.ho...@allatnet.de schrieb: Hi, okay sorry. I want to migrate from non raid single disks to zfs raidz - at the moment i have 1 empty disk and 4 with data. Its possible to create a pool at the beginning with one disk and add later disk 2,3,4,5 and can the pool be a raidz then with single parity? So ists possible for me to transfer the data. kind regards Hi robert.hoppe, could you be more specific about your situation please ? U wrote ntfs, but where is the problem with zfs ? I you create a pool, you can add disks later # |zpool add xpool c1t0d0 kind regards, | robert.ho...@allatnet.de schrieb: Hi there, i'm building a small NAS with 5x1TB Disks. The disks contains at the moment some data, ntfs as the fs and aren't a raid. Now my im wondering if its possible to add the parity later. So that i add step by step one disk to the pool. And when i add the last disk, i enable the parity. (i have only one another 1 tb disk to backup the files) Thank you for you replies and sorry for my bad english. Robert Hoppe ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss -- Moutacim LACHHAB Service Engineer Software Technical Services Center Sun Microsystems Inc. Email moutacim.lach...@sun.com <mailto:moutacim.lach...@sun.com> +33(0)134030594 x31457 For knowledge and support: http://sunsolve.sun.com ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] APPLE: ZFS need bug corrections instead of new func! Or?
Hi, If there are complaints, what should SUN do? Should the complaints be taken seriously or not? Customer complaints are ALWAYS taken serious by SUN, and more than that, with those kind of statements Bugs could be traced, problems resolved and so far filesystem -ZFS- could be improved. Taking Slashdots comment '/ZFS isn't really ready for prime time.' /serious, then i would care about ZFS' reputation. I do not ! And, please, try not to manage ZFS via webconsole, because your away of the commands. Except if you are winblows user, prefer GUI than CLI. So in this case, why moving to a UNIX system ??! 'Stay away advice' is your friend. Take your time, learn, experiment, THEN use ZFS for productive environment. Its really the last word in filesystem. kind regards -- Moutacim LACHHAB Service Engineer Software Technical Services Center Sun Microsystems Inc. Email moutacim.lach...@sun.com <mailto:moutacim.lach...@sun.com> +33(0)134030594 x30210 For knowledge and support: http://sunsolve.sun.com ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] zfs on 32 bit?
So you better post the nice and clean zfs error message that you got on your screen, instead of posting about things that you might ignore. To give the correct information, leads to your correct solution. In your case possible, the patchlevel, or /format -e/ issue. Think about it ! milosz schrieb: yeah, i get a nice clean zfs error message about disk size limits when i try to add the disk. On Tue, Jun 16, 2009 at 4:26 PM, roland wrote: the only problems i've run into are: slow (duh) and will not take disks that are bigger than 1tb do you think that 1tb limit is due to 32bit solaris ? -- This message posted from opensolaris.org ___ 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 -- Moutacim LACHHAB Service Engineer Software Technical Services Center Sun Microsystems Inc. Email moutacim.lach...@sun.com <mailto:moutacim.lach...@sun.com> +33(0)134030594 x31457 For knowledge and support: http://sunsolve.sun.com ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] APPLE: ZFS need bug corrections instead of new func! Or?
Nicolas Williams schrieb: On Fri, Jun 19, 2009 at 04:09:29PM -0400, Miles Nordin wrote: Also, as I said elsewhere, there's a barrier controlled by Sun to getting bugs accepted. This is a useful barrier: the bug database is a more useful drive toward improvement if it's not cluttered. It also means, like I said, sometimes the mailing list is a more useful place for information. There's two bug databases, sadly. bugs.opensolaris.org is like you describe, whereas defect.opensolaris.org is not. Nico Hi, are you talking about ZFS or just BUG's on opensolaris ? Just like everywhere, there are internal databases -for internal use only-, and others like http://bugs.sun.com/ for everyone ! And the barrier is controlled for good reasons; -most of the times there is a workaround, that someone ignored, or people just don't know. So its only a BUG, if there is no workaround to fiw the problem. kind regards, Moutacim -- Moutacim LACHHAB Service Engineer Software Technical Services Center Sun Microsystems Inc. Email moutacim.lach...@sun.com <mailto:moutacim.lach...@sun.com> +33(0)134030594 x31457 For knowledge and support: http://sunsolve.sun.com ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] ZFS - SWAP and lucreate..
Hi, it is recommended to delete old swap and make new one: # *swap -d /dev/zvol/dsk/rpool/swap* # *zfs volsize=8G rpool/swap* # *swap -a /dev/zvol/dsk/rpool/swap* kind regards, Moutacim Patrick Bittner schrieb: Thx for your quick answer, but that is exactly what i am trying: to manage this by lucreate command or earlier. The reason for that is VERY small volumes. I hope it is possible to create the BE without using much diskspace.. and swap is a little chance to get at least some space.. now it is on 5GB by default.. i hope to thrill it down on 2 GB or something.. that would be enough. -- Moutacim LACHHAB Service Engineer Software Technical Services Center Sun Microsystems Inc. Email moutacim.lach...@sun.com <mailto:moutacim.lach...@sun.com> +33(0)134030594 x31457 For knowledge and support: http://sunsolve.sun.com ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] zpool import issue
Hi, you have to upgrade your pool: The pool is formatted using an older on-disk version. Then it should works fine. Kind regards, Moutacim Ketan schrieb: I'm having following issue .. i import the zpool and it shows pool imported correctly but after few seconds when i issue command zpool list .. it does not show any pool and when again i try to import it says device is missing in pool .. what could be the reason for this .. and yes this all started after i upgraded the powerpath abc # zpool import pool: emcpool1 id: 5596268873059055768 state: ONLINE status: The pool is formatted using an older on-disk version. action: The pool can be imported using its name or numeric identifier, though some features will not be available without an explicit 'zpool upgrade'. config: emcpool1 ONLINE emcpower0c ONLINE abc # zpool list no pools available -- Moutacim LACHHAB Service Engineer Software Technical Services Center Sun Microsystems Inc. Email moutacim.lach...@sun.com <mailto:moutacim.lach...@sun.com> +33(0)134030594 x31457 For knowledge and support: http://sunsolve.sun.com ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] zpool import issue
Hi, you have to upgrade your pool: The pool is formatted using an older on-disk version. # *zpool upgrade -v* Then it should works fine. Kind regards, Moutacim Ketan schrieb: I'm having following issue .. i import the zpool and it shows pool imported correctly but after few seconds when i issue command zpool list .. it does not show any pool and when again i try to import it says device is missing in pool .. what could be the reason for this .. and yes this all started after i upgraded the powerpath abc # zpool import pool: emcpool1 id: 5596268873059055768 state: ONLINE status: The pool is formatted using an older on-disk version. action: The pool can be imported using its name or numeric identifier, though some features will not be available without an explicit 'zpool upgrade'. config: emcpool1 ONLINE emcpower0c ONLINE abc # zpool list no pools available -- Moutacim LACHHAB Service Engineer Software Technical Services Center Sun Microsystems Inc. Email moutacim.lach...@sun.com <mailto:moutacim.lach...@sun.com> +33(0)134030594 x31457 For knowledge and support: http://sunsolve.sun.com ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss