Marlanne DeLaSource
2010-Mar-16 22:23 UTC
[zfs-discuss] Problem importing a pool consisting of mkfile elements
Hi, When creating a zfs pool with mkfile components in S10 10/09, I was testing the export/import feature (I did it in Solaris 11/06 and it worked well). But it didn''t work. I tried the -d /dir option without success. It didn''t work any better with the zpool destroy and zpool import -D succession of events. Is is a removed feature ? I know that it''s better to work with whole disks. By the way. Is there a way to move the files to another system and try to import them on the target system ? (I guess this is no :-)) Thanks for your answer. -- This message posted from opensolaris.org
Marlanne DeLaSource
2010-Mar-28 20:39 UTC
[zfs-discuss] Problem importing a pool consisting of mkfile elements
I would not like to be classified as a spammer. But can anyone help me about this ? If mkfile-created pools cannot be re-imported, it may be a concern to some customers. Thanks for a reply. -- This message posted from opensolaris.org
Cindy Swearingen
2010-Apr-01 17:32 UTC
[zfs-discuss] Problem importing a pool consisting of mkfile elements
Hi Marlanne,
I can import a pool that is created with files on a system running the
Solaris 10 10/09 release. See the output below.
This could be a regression from a previous Solaris release, although I
can''t reproduce it, but creating a pool with files is not a recommended
practice as described in the zpool.1m man page.
You are correct also in that you cannot import a pool that is created
with files on another system. I don''t think this operation was ever
intended to be used on a pool that is created with files.
Thanks,
Cindy
# zpool create pool mirror /files/file.1 /files/file.2
# zpool export pool
# zpool import -d /files
pool: pool
id: 15183682163901756622
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:
pool ONLINE
mirror-0 ONLINE
/files/file.1 ONLINE
/files/file.2 ONLINE
# zpool import -d /files pool
# zpool status pool
pool: pool
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
pool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
/files/file.1 ONLINE 0 0 0
/files/file.2 ONLINE 0 0 0
errors: No known data errors
On 03/28/10 14:39, Marlanne DeLaSource wrote:> I would not like to be classified as a spammer. But can anyone help me
about this ?
>
> If mkfile-created pools cannot be re-imported, it may be a concern to some
customers.
> Thanks for a reply.