root at antonio:~# zpool create -f test /dev/dsk/c3d0p9
cannot open '/dev/dsk/c3d0p9': No such file or directory


Jan Hlodan escribi?:
> Antonio wrote:
>> I can mount those partitions well using ext2fs, so I assume I won't 
>> need to run gparted at all.
>>
>> This is what prtpart says about my stuff.
>>
>> Kind regards,
>> Antonio
>>
>> root at antonio:~# prtpart /dev/rdsk/c3d0p0 -ldevs
>>
>> Fdisk information for device /dev/rdsk/c3d0p0
>>
>> ** NOTE **
>> /dev/dsk/c3d0p0      - Physical device referring to entire physical disk
>> /dev/dsk/c3d0p1 - p4 - Physical devices referring to the 4 primary 
>> partitions
>> /dev/dsk/c3d0p5 ...  - Virtual devices referring to logical partitions
>>
>> Virtual device names can be used to access EXT2 and NTFS on logical 
>> partitions
>>
>> /dev/dsk/c3d0p1    Solaris x86
>> /dev/dsk/c3d0p2    Solaris x86
>> /dev/dsk/c3d0p3    Solaris x86
>> /dev/dsk/c3d0p4    DOS Extended
>> /dev/dsk/c3d0p5    Linux native
>> /dev/dsk/c3d0p6    Linux native
>> /dev/dsk/c3d0p7    Linux native
>> /dev/dsk/c3d0p8    Linux native
>> /dev/dsk/c3d0p9    Linux swap
>> /dev/dsk/c3d0p10    Solaris x86
>>
> Hi Antonio,
> 
> and what does 'zpool create' command say?
> $ pfexec zpool create test /dev/dsk/c3d0p5
> or
> $ pfexec zpool create -f test /dev/dsk/c3d0p5
> 
> Regards,
> 
> jh
> 
>>
>>
>> Jan Hlodan escribi?:
>>> Hi Antonio,
>>>
>>> did you try to recreate this partition e.g. with Gparted?
>>> Maybe is something wrong with this partition.
>>> Can you also post what "prtpart "disk ID" -ldevs" says?
>>>
>>> Regards,
>>>
>>> Jan Hlodan
>>>
>>> Antonio wrote:
>>>> Hi Jan,
>>>>
>>>> I tried out what you say long ago, but zfs fails on pool creation.
>>>>
>>>> This is, when I issue the zpool create trunk /dev/dsk/c9d0p3 the 
>>>> command fails saying that there's no such file or directory. And the 
>>>> disk is correct!!
>>>>
>>>> What I think is that /dev/dsk/c9d0p3 is a symbolic name used by 
>>>> FSWpart, and it's not a valid device name for zpool.
>>>>
>>>> Thanks anyway,
>>>> Antonio
>>>>
>>>> Jan Hlodan escribi?:
>>>>> Antonio wrote:
>>>>>> Hi all,
>>>>>>
>>>>>> First of all let me say that, after a few days using it (and after 
>>>>>> several *years* of using Linux daily),  I'm delighted with 
>>>>>> OpenSolaris 8.11. It's gonna be the OS of my choice.
>>>>>>
>>>>>> The fact is that I installed it in a partition of 16Gb in my hard 
>>>>>> disk and that I'd like to add another partition to the system (I 
>>>>>> have different partitions with Linux and Windows and some others).
>>>>>>
>>>>>> So the questions are:
>>>>>>
>>>>>> 1.- How do I add an existing partition to OpenSolaris? (Should I 
>>>>>> change the partition type or something? Shall I "grow" ZFS or 
>>>>>> shall I mount the extra partition somewhere else?)
>>>>>>
>>>>>>   
>>>>> yes. You can create a new zpool from your free/spare partition.
>>>>> I had the same problem. I wanted to use Linux partition as a mirror.
>>>>> So here is how to:
>>>>> Follow this blog -
>>>>> http://blogs.sun.com/pradhap/entry/mount_ntfs_ext2_ext3_in
>>>>> * install FSWpart and FSWfsmisc
>>>>> * run prtpart (find out your disk ID)
>>>>> * figure out partitions ID: prtpart "disk ID" -ldevs
>>>>> * create zpool from linux partition  e.g. zpool create trunk 
>>>>> /dev/dsk/c9d0p3
>>>>> * check it out: zpool list or zpool status
>>>>>
>>>>>
>>>>>> 2.- Would you please recommend a good introduction to 
>>>>>> Solaris/OpenSolaris? I'm used to Linux and I'd like to get up to 
>>>>>> speed with OpenSolaris.
>>>>>>   
>>>>> sure, OpenSolaris Bible :)
>>>>> http://blogs.sun.com/observatory/entry/two_more_chapters_from_the
>>>>>
>>>>> Hope this helps,
>>>>>
>>>>> Regards,
>>>>>
>>>>> Jan Hlodan
>>>>>
>>>>>> Thanks in advance,
>>>>>> Antonio
>>>>>>   
>>>>>
>>>
> 

Reply via email to