[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Decrease partition size without data loss

Posted on 2014-09-08
1
Medium Priority
?
267 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 1000 total points
ID: 40311561
You must run fsck -f on unmunted system
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month10 days, 20 hours left to enroll

612 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