免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2373 | 回复: 6

gparted真强,来赞一个~~~ [复制链接]

论坛徽章:
0
发表于 2009-12-16 09:09 |显示全部楼层
昨天因为看到跟分区空闲的容量太大,20多个G,对于我这个喜欢整的人来说浪费太可惜,所以就想调整以下分区,准备转移10G左右到/home分区,
进入ubuntu的live cd后就开始,(开始后你就别想中断,终端后果自负。)后面我等啊等,移动了近100G的数据,花了1个多小时! 总算成功之后,准备去修改参数,比如/etc/fstab,检查了uuid后,竟然发现uuid没有发生过变化!
感觉出乎我的意料!

有谁知道uuid是怎么来计算出来的吗????

论坛徽章:
0
发表于 2009-12-16 09:09 |显示全部楼层
GParted 0.4.5

Libparted 1.8.8.1.159-1e0e

Shrink /dev/sda5 from 30.00 GiB to 20.00 GiB  00:00:29    ( SUCCESS )
           
calibrate /dev/sda5  00:00:01    ( SUCCESS )
           
path: /dev/sda5
start: 167880704
end: 230795263
size: 62914560 (30.00 GiB)
check file system on /dev/sda5 for errors and (if possible) fix them  00:00:11    ( SUCCESS )
           
e2fsck -f -y -v /dev/sda5
           
第一步: 检查inode,块,和大小
第二步: 检查目录结构
第3步: 检查目录连接性
Pass 4: Checking reference counts
第5步: 检查簇概要信息

208278 inodes used (10.59%)
274 non-contiguous files (0.1%)
193 non-contiguous directories (0.1%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 178878/46
2611623 blocks used (33.21%)
0 bad blocks
2 large files

150996 regular files
20789 directories
68 character device files
26 block device files
2 fifos
494 links
36347 symbolic links (29207 fast symbolic links)
41 sockets
--------
208763 files
e2fsck 1.41.9 (22-Aug-2009)
shrink file system  00:00:03    ( SUCCESS )
           
resize2fs /dev/sda5 20972130K
           
Resizing the filesystem on /dev/sda5 to 5243032 (4k) blocks.
The filesystem on /dev/sda5 is now 5242880 blocks long.

resize2fs 1.41.9 (22-Aug-2009)
shrink partition from 30.00 GiB to 20.00 GiB  00:00:05    ( SUCCESS )
           
old start: 167880704
old end: 230795263
old size: 62914560 (30.00 GiB)
new start: 167880704
new end: 209824964
new size: 41944261 (20.00 GiB)
check file system on /dev/sda5 for errors and (if possible) fix them  00:00:08    ( SUCCESS )
           
e2fsck -f -y -v /dev/sda5
           
第一步: 检查inode,块,和大小
第二步: 检查目录结构
第3步: 检查目录连接性
Pass 4: Checking reference counts
第5步: 检查簇概要信息

208278 inodes used (15.89%)
274 non-contiguous files (0.1%)
193 non-contiguous directories (0.1%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 178878/46
2570503 blocks used (49.03%)
0 bad blocks
2 large files

150996 regular files
20789 directories
68 character device files
26 block device files
2 fifos
494 links
36347 symbolic links (29207 fast symbolic links)
41 sockets
--------
208763 files
e2fsck 1.41.9 (22-Aug-2009)
grow file system to fill the partition  00:00:00    ( SUCCESS )
           
resize2fs /dev/sda5
           
Resizing the filesystem on /dev/sda5 to 5243032 (4k) blocks.
The filesystem on /dev/sda5 is now 5242880 blocks long.

resize2fs 1.41.9 (22-Aug-2009)
========================================

Move /dev/sda6 to the left and grow it from 39.99 GiB to 50.00 GiB  01:03:28    ( SUCCESS )
           
calibrate /dev/sda6  00:00:01    ( SUCCESS )
           
path: /dev/sda6
start: 230805918
end: 314681219
size: 83875302 (39.99 GiB)
calculate new size and position of /dev/sda6  00:00:00    ( SUCCESS )
           
requested start: 209825028
requested end: 314681219
requested size: 104856192 (50.00 GiB)
new start: 209825028
new end: 314681219
new size: 104856192 (50.00 GiB)
check file system on /dev/sda6 for errors and (if possible) fix them  00:02:49    ( SUCCESS )
           
e2fsck -f -y -v /dev/sda6
           
第一步: 检查inode,块,和大小
第二步: 检查目录结构
第3步: 检查目录连接性
Pass 4: Checking reference counts
第5步: 检查簇概要信息

44458 inodes used (1.70%)
3213 non-contiguous files (7.2%)
24 non-contiguous directories (0.1%)
# of inodes with ind/dind/tind blocks: 11677/478/0
9437021 blocks used (90.01%)
0 bad blocks
3 large files

41399 regular files
3015 directories
0 character device files
0 block device files
0 fifos
0 links
34 symbolic links (34 fast symbolic links)
1 socket
--------
44449 files
e2fsck 1.41.9 (22-Aug-2009)
move partition to the left  00:00:04    ( SUCCESS )
           
old start: 230805918
old end: 314681219
old size: 83875302 (39.99 GiB)
new start: 209825028
new end: 293700329
new size: 83875302 (39.99 GiB)
move file system to the left  00:51:51    ( SUCCESS )
           
perform read-only test  00:13:38    ( SUCCESS )
           
using internal algorithm
read 83875302 sectors
finding optimal blocksize
           
read 65536 sectors using a blocksize of 128 sectors  00:00:03    ( SUCCESS )
           
65536 of 65536 read
2.65211 seconds
read 65536 sectors using a blocksize of 256 sectors  00:00:03    ( SUCCESS )
           
65536 of 65536 read
3.10004 seconds
read 65536 sectors using a blocksize of 512 sectors  00:00:03    ( SUCCESS )
           
65536 of 65536 read
3.38775 seconds
read 65536 sectors using a blocksize of 1024 sectors  00:00:03    ( SUCCESS )
           
65536 of 65536 read
2.19706 seconds
read 65536 sectors using a blocksize of 2048 sectors  00:00:02    ( SUCCESS )
           
65536 of 65536 read
2.6566 seconds
read 65536 sectors using a blocksize of 4096 sectors  00:00:04    ( SUCCESS )
           
65536 of 65536 read
3.33743 seconds
read 65536 sectors using a blocksize of 8192 sectors  00:00:03    ( SUCCESS )
           
65536 of 65536 read
3.32205 seconds
read 65536 sectors using a blocksize of 16384 sectors  00:00:03    ( SUCCESS )
           
65536 of 65536 read
3.19203 seconds
read 65536 sectors using a blocksize of 32768 sectors  00:00:03    ( SUCCESS )
           
65536 of 65536 read
3.28014 seconds
read 65536 sectors using a blocksize of 65536 sectors  00:00:04    ( SUCCESS )
           
65536 of 65536 read
3.46894 seconds
optimal blocksize is 1024 sectors (512.00 KiB)    ( ERROR )
read 83219942 sectors using a blocksize of 1024 sectors  00:13:07    ( SUCCESS )
           
83219942 of 83219942 read
83875302 sectors read
perform real move  00:38:13    ( SUCCESS )
           
using internal algorithm
copy 83875302 sectors
finding optimal blocksize
           
copy 65536 sectors using a blocksize of 64 sectors  00:00:05    ( SUCCESS )
           
65536 of 65536 copied
5.57445 seconds
copy 65536 sectors using a blocksize of 128 sectors  00:00:06    ( SUCCESS )
           
65536 of 65536 copied
5.70215 seconds
copy 65536 sectors using a blocksize of 256 sectors  00:00:06    ( SUCCESS )
           
65536 of 65536 copied
6.18057 seconds
copy 65536 sectors using a blocksize of 512 sectors  00:00:04    ( SUCCESS )
           
65536 of 65536 copied
3.55937 seconds
copy 65536 sectors using a blocksize of 1024 sectors  00:00:04    ( SUCCESS )
           
65536 of 65536 copied
4.05856 seconds
copy 65536 sectors using a blocksize of 2048 sectors  00:00:04    ( SUCCESS )
           
65536 of 65536 copied
4.60987 seconds
copy 65536 sectors using a blocksize of 4096 sectors  00:00:03    ( SUCCESS )
           
65536 of 65536 copied
3.06214 seconds
copy 65536 sectors using a blocksize of 8192 sectors  00:00:03    ( SUCCESS )
           
65536 of 65536 copied
2.81029 seconds
copy 65536 sectors using a blocksize of 16384 sectors  00:00:05    ( SUCCESS )
           
65536 of 65536 copied
5.06188 seconds
copy 65536 sectors using a blocksize of 32768 sectors  00:00:04    ( SUCCESS )
           
65536 of 65536 copied
3.61378 seconds
copy 65536 sectors using a blocksize of 65536 sectors  00:00:03    ( SUCCESS )
           
65536 of 65536 copied
3.53197 seconds
optimal blocksize is 8192 sectors (4.00 MiB)
copy 83154406 sectors using a blocksize of 8192 sectors  00:37:26    ( SUCCESS )
           
83154406 of 83154406 copied
83875302 sectors copied
check file system on /dev/sda6 for errors and (if possible) fix them  00:02:49    ( SUCCESS )
           
e2fsck -f -y -v /dev/sda6
           
第一步: 检查inode,块,和大小
第二步: 检查目录结构
第3步: 检查目录连接性
Pass 4: Checking reference counts
第5步: 检查簇概要信息

44458 inodes used (1.70%)
3213 non-contiguous files (7.2%)
24 non-contiguous directories (0.1%)
# of inodes with ind/dind/tind blocks: 11677/478/0
9437021 blocks used (90.01%)
0 bad blocks
3 large files

41399 regular files
3015 directories
0 character device files
0 block device files
0 fifos
0 links
34 symbolic links (34 fast symbolic links)
1 socket
--------
44449 files
e2fsck 1.41.9 (22-Aug-2009)
grow file system to fill the partition  00:00:00    ( SUCCESS )
           
resize2fs /dev/sda6
           
resize2fs 1.41.9 (22-Aug-2009)
The filesystem is already 10484412 blocks long. Nothing to do!

calculate new size and position of /dev/sda6  00:00:01    ( SUCCESS )
           
requested start: 209825028
requested end: 314681219
requested size: 104856192 (50.00 GiB)
new start: 209825028
new end: 314681219
new size: 104856192 (50.00 GiB)
check file system on /dev/sda6 for errors and (if possible) fix them  00:02:49    ( SUCCESS )
           
e2fsck -f -y -v /dev/sda6
           
第一步: 检查inode,块,和大小
第二步: 检查目录结构
第3步: 检查目录连接性
Pass 4: Checking reference counts
第5步: 检查簇概要信息

44458 inodes used (1.70%)
3213 non-contiguous files (7.2%)
24 non-contiguous directories (0.1%)
# of inodes with ind/dind/tind blocks: 11677/478/0
9437021 blocks used (90.01%)
0 bad blocks
3 large files

41399 regular files
3015 directories
0 character device files
0 block device files
0 fifos
0 links
34 symbolic links (34 fast symbolic links)
1 socket
--------
44449 files
e2fsck 1.41.9 (22-Aug-2009)
grow partition from 39.99 GiB to 50.00 GiB  00:00:04    ( SUCCESS )
           
old start: 209825028
old end: 293700329
old size: 83875302 (39.99 GiB)
new start: 209825028
new end: 314681219
new size: 104856192 (50.00 GiB)
check file system on /dev/sda6 for errors and (if possible) fix them  00:02:49    ( SUCCESS )
           
e2fsck -f -y -v /dev/sda6
           
第一步: 检查inode,块,和大小
第二步: 检查目录结构
第3步: 检查目录连接性
Pass 4: Checking reference counts
第5步: 检查簇概要信息

44458 inodes used (1.70%)
3213 non-contiguous files (7.2%)
24 non-contiguous directories (0.1%)
# of inodes with ind/dind/tind blocks: 11677/478/0
9437021 blocks used (90.01%)
0 bad blocks
3 large files

41399 regular files
3015 directories
0 character device files
0 block device files
0 fifos
0 links
34 symbolic links (34 fast symbolic links)
1 socket
--------
44449 files
e2fsck 1.41.9 (22-Aug-2009)
grow file system to fill the partition  00:00:11    ( SUCCESS )
           
resize2fs /dev/sda6
           
Resizing the filesystem on /dev/sda6 to 13107024 (4k) blocks.
The filesystem on /dev/sda6 is now 13107024 blocks long.

resize2fs 1.41.9 (22-Aug-2009)
========================================

论坛徽章:
0
发表于 2009-12-16 09:30 |显示全部楼层

回复 #1 zyp339025518 的帖子

针对系统是唯一的

论坛徽章:
1
天秤座
日期:2013-10-23 13:20:42
发表于 2009-12-16 09:57 |显示全部楼层
哈哈,“流水账”

论坛徽章:
0
发表于 2009-12-16 10:01 |显示全部楼层
不懂ubuntu的路过。。。

论坛徽章:
0
发表于 2009-12-16 11:36 |显示全部楼层
uuid可以改

论坛徽章:
0
发表于 2009-12-16 14:46 |显示全部楼层
原帖由 刘世伟 于 2009-12-16 11:36 发表
uuid可以改



怎么去改啊??
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP