Solved

Decrease partition size without data loss

Posted on 2014-09-08
1
250 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 61

Accepted Solution

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

867 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now