Solved

Decrease partition size without data loss

Posted on 2014-09-08
1
252 Views
Last Modified: 2016-02-11
i have one partition with 465G formatted as ufs
now, I want to decrease that using
gpart resize -i 1 -a 4k -s 90G  da0

gpart: invalid index "\1 <- ASCII character coded as 1 - smile sign"  : Invalid argument.
I'm usign freebsd 8.3
FreeBSD 8.3
0
Comment
Question by:Nusrat Nuriyev
1 Comment
 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 40311561
You must run fsck -f on unmunted system
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question