Re: Groupping restored partitions into slices

2012-11-06 Thread Thomas Mueller
Short version: Is it possible to group existing partitions into slices without affecting data? Long version: I had a disk sliced/partitioned like this: ad4s1 ad4s1a ad4s1b (swap) ad4s1d ad4s1e ad4s1f ad4s2 (storage) ad4s3 ad4s3a ad4s3b (swap) ad4s3d ad4s3e

Re: Groupping restored partitions into slices

2012-11-06 Thread Snow Mountains
Thomas, thank you for reply! No, it wasn't dangerously dedicated disk. However, what is the exact command to add ad4s1 and ad4s3 using bsdlabel? Is it possible at all? I thought I should use fdisk or gpart for that. Thanks, Sergi M ___

Re: Groupping restored partitions into slices

2012-11-06 Thread Thomas Mueller
Thomas, thank you for reply! No, it wasn't dangerously dedicated disk. However, what is the exact command to add ad4s1 and ad4s3 using bsdlabel? Is it possible at all? I thought I should use fdisk or gpart for that. Thanks, Sergi M You use fdisk to create what FreeBSD calls slices such

Re: Groupping restored partitions into slices

2012-11-06 Thread Snow Mountains
Thomas, thank you very much for your mail, but that isn't what I asked. Of course, I know that bsdlabel -R ad0s1 new_label_file writes new labels to ad0s1. My question is: what to do if I _lost_ s1, s2, and s3 - how to recover _them_ first? Without that, all I can do is to write labels table

Re: Groupping restored partitions into slices

2012-11-06 Thread Thomas Mueller
Thomas, thank you very much for your mail, but that isn't what I asked. Of course, I know that bsdlabel -R ad0s1 new_label_file writes new labels to ad0s1. My question is: what to do if I _lost_ s1, s2, and s3 - how to recover _them_ first? Without that, all I can do is to write labels