Solved

Decrease partition size without data loss

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

776 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