[OpenIndiana-discuss] zpool on the second partition of an external disk

2017-09-07 Thread Apostolos Syropoulos via openindiana-discuss
Hello, I have an external USB disk. The disk is pre-formatted with NTFSbut I would like to use it to  back up things from hard disks.An ideal solution would be to create two partitions on thisdisks and have an NTFS partition and a second partition whereI can create a zpool and then a zfs. I have

Re: [OpenIndiana-discuss] zpool on the second partition of an external disk

2017-09-07 Thread PÁSZTOR György
Hi, "Apostolos Syropoulos via openindiana-discuss" írta 2017-09-07 19:58-kor: > Hello, > I have an external USB disk. The disk is pre-formatted with NTFSbut I would > like to use it to  back up things from hard disks.An ideal solution would be > to create two partitions on thisdisks and have a

Re: [OpenIndiana-discuss] zpool on the second partition of an external disk

2017-09-07 Thread Apostolos Syropoulos via openindiana-discuss
>Ok, but what is the problem? >What is the output and stderr of your zpool create cXtYdZp2 command? >Does it gives any error? After more searching I concluded that the command should be # zpool create -f utank c13t0d0s2 The logical Node was  /dev/rdsk/c13t0d0p0and format --> partition --> print

Re: [OpenIndiana-discuss] zpool on the second partition of an external disk

2017-09-08 Thread James Carlson via openindiana-discuss
On 09/07/17 16:50, Apostolos Syropoulos via openindiana-discuss wrote: > >> Ok, but what is the problem? >> What is the output and stderr of your zpool create cXtYdZp2 command? >> Does it gives any error? > > After more searching I concluded that the command should be > # zpool create -f utank c1

Re: [OpenIndiana-discuss] zpool on the second partition of an external disk

2017-09-08 Thread Apostolos Syropoulos via openindiana-discuss
>p2 is, by convention, "whole disk" when using old-style partitioning. >If you're using that and you've partitioned the disk, I think you've >trashed your NTFS partition or (worse) you have an overlap. > >Are you sure?  What exactly does "format" say about the partition map? This is what fdisk s

Re: [OpenIndiana-discuss] zpool on the second partition of an external disk

2017-09-08 Thread Andrew Gabriel
On 08/09/2017 14:44, James Carlson via openindiana-discuss wrote: On 09/07/17 16:50, Apostolos Syropoulos via openindiana-discuss wrote: Ok, but what is the problem? What is the output and stderr of your zpool create cXtYdZp2 command? Does it gives any error? After more searching I concluded th

Re: [OpenIndiana-discuss] zpool on the second partition of an external disk

2017-09-08 Thread James Carlson via openindiana-discuss
On 09/08/17 10:45, Andrew Gabriel wrote: > On x86, p0 is the whole disk, and p1-4 are the 4 primary FDISK partitions. I should mind my p's and s's. Thanks, Andrew; you're right. I was thinking of s2, not p2. -- James Carlson 42.703N 71.076W ___

Re: [OpenIndiana-discuss] zpool on the second partition of an external disk

2017-09-08 Thread Apostolos Syropoulos via openindiana-discuss
>I should mind my p's and s's.  Thanks, Andrew; you're right.  I was >thinking of s2, not p2. So what I did what correct, right? I have mounted both partitions and the dataare there and I can read and write. A.S. -- Apostolos Syropoulos Xanthi, Greece _

Re: [OpenIndiana-discuss] zpool on the second partition of an external disk

2017-09-08 Thread Udo Grabowski (IMK)
On 08/09/2017 17:33, Apostolos Syropoulos via openindiana-discuss wrote: I should mind my p's and s's. Thanks, Andrew; you're right. I was thinking of s2, not p2. So what I did what correct, right? I have mounted both partitions and the dataare there and I can read and write. No. Your boot

Re: [OpenIndiana-discuss] zpool on the second partition of an external disk

2017-09-08 Thread PÁSZTOR György
Hi, "Udo Grabowski (IMK)" írta 2017-09-08 17:39-kor: > On 08/09/2017 17:33, Apostolos Syropoulos via openindiana-discuss wrote: > >>I should mind my p's and s's. Thanks, Andrew; you're right. I was > >>thinking of s2, not p2. > > > >So what I did what correct, right? I have mounted both partiti

Re: [OpenIndiana-discuss] zpool on the second partition of an external disk

2017-09-09 Thread Udo Grabowski (IMK)
On 08/09/2017 23:41, PÁSZTOR György wrote: Hi, "Udo Grabowski (IMK)" írta 2017-09-08 17:39-kor: On 08/09/2017 17:33, Apostolos Syropoulos via openindiana-discuss wrote: I should mind my p's and s's. Thanks, Andrew; you're right. I was thinking of s2, not p2. So what I did what correct, ri

Re: [OpenIndiana-discuss] zpool on the second partition of an external disk

2017-09-09 Thread PÁSZTOR György
Hi, "Udo Grabowski (IMK)" írta 2017-09-09 13:12-kor: > No, s2 has been actively configured to be used as a zpool slice, Yepp. That is the normal behaviour. > zfs tools don't do that. Therefore, the next one that will touch I think, You are wrong. ZFS does that. At least according to docs. > s

Re: [OpenIndiana-discuss] zpool on the second partition of an external disk

2017-09-09 Thread Udo Grabowski (IMK)
On 09/09/2017 15:45, PÁSZTOR György wrote: Hi, "Udo Grabowski (IMK)" írta 2017-09-09 13:12-kor: No, s2 has been actively configured to be used as a zpool slice, Yepp. That is the normal behaviour. No, it's not. The normal behaviour is using either s0 or the whole disk (which, again, is set

Re: [OpenIndiana-discuss] zpool on the second partition of an external disk

2017-09-09 Thread John D Groenveld
In message <59b40014.4010...@kit.edu>, "Udo Grabowski (IMK)" writes: >And that's the problem. Always expect the unexpected. Some day some >tool or idiot will touch that, and your nice s2 pool is gone. Use the >things as they are intended to be used, not just in any way you like >because it happens