Re: Playing (screwing up ) with partitions

2017-07-04 Thread Manuel Solis
Got it !! 

Thank you for the advice.

I will restore it via disklabel.

> El 04/07/2017, a las 23:28, Ted Unangst  escribió:
> 
> Manuel Solis wrote:
>> My question is:
>> I know that i am missing some step to fulfill the shrinking process 
>> but in the FAQ there is only a way to grow fs and i didn’t find the 
>> shrinking fs, and in the book says that i should move the partition, well it 
>> does not say it but i figured out with the information in there, 
>> is there another way to fix my mistake so i could work with the new fs 
>> size?
>> (Or there is a rule that no FFS could be shrinked, only growed)
> 
> OpenBSD does not have any tools to shrink a filesystem. Changing the disklabel
> doesn't change the filesystem.
> 
> *IF* you didn't write anything to the space that used to be your filesystem,
> you should be able to change the disklabel back to the way it was before.



Re: Playing (screwing up ) with partitions

2017-07-04 Thread Ted Unangst
Manuel Solis wrote:
> My question is:
> I know that i am missing some step to fulfill the shrinking process 
> but in the FAQ there is only a way to grow fs and i didn’t find the shrinking 
> fs, and in the book says that i should move the partition, well it does not 
> say it but i figured out with the information in there, 
> is there another way to fix my mistake so i could work with the new fs 
> size?
> (Or there is a rule that no FFS could be shrinked, only growed)

OpenBSD does not have any tools to shrink a filesystem. Changing the disklabel
doesn't change the filesystem.

*IF* you didn't write anything to the space that used to be your filesystem,
you should be able to change the disklabel back to the way it was before.