linux 磁盘管理工具

int32位 posted @ Apr 10, 2014 10:46:24 AM in linux , 8509 阅读
转载请注明:http://krystism.is-programmer.com/若有错误,请多多指正,谢谢!

总结下一些linux常用的磁盘工具,具体用法可以google之。

1. fdisk 磁盘分区交互式管理工具,我用的最多的命令。

2.gdisk 和fdisk类似,不过对GPT支持,有时使用fdisk修改分区后,出现GPT 签名问题,可以使用fixparts移除之。

3.parted 、partx 同样分区管理工具,不过我很少用,主要是习惯fdisk了。

4.sfdisk同样是分区管理工具,用过一次是分区表的导出(dump)和导入(直接重定向)。

5.testdisk 修复分区工具,可以找回遗失的分区。 photorec是文件恢复工具,可以找回一些误删的文件。

6.lsblk查看block设备,默认不加参数,列举硬盘以及分区、大小。blkid 比较少用,原因是使用lsblk加上-o参数可以达到类似效果。

7.mkfs.XXX创建文件系统,比如ext4,btrfs等。

8.lvm工具。比如pvcreate lvdisplay等。

9.resize2fs 修改extX文件系统分区大小,比较常用的是通过lvm修改了某个lv的大小,但extX文件系统并不能觉察,需要使用resize2fs命令。

10,partprobe 当修改分区表后,不需要重启电脑,运行partprobe通知系统检测新的分区表变化。

11 dd 这个命令很强大,可以克隆整个分区,写入数据到分区中。有时我们把文件删掉后,不安全,系统有可能仅仅移除了inode,而文件内容并没有移除,这时可以使用dd命令写入0或者随机值。

12 df 查看已挂载分区的使用情况以及挂载点、文件系统(-T参数)。

13 dosfslabel,e2label ,如果习惯windows,习惯在分区表设置标签,e2lable可以对extX文件系统分区设置或者修改标签。

14 findfs 根据uuid或者标签查找文件系统,基本没有用过,直接lsblk加上grep。

后续继续补充……

转载请注明:http://krystism.is-programmer.com/若有错误,请多多指正,谢谢!
  • 无匹配
  • 无匹配
NCERT Evs Sample Pap 说:
2022年9月17日 00:20

Environmental Education or Environmental Studies (EVS) was introduced from the foundation of education to enable students to understand the situations occurring around our surroundings without any difficulties. NCERT Evs Sample Paper Class 2 The subject refers to the neighbouring in which all life, also makes use of to solve day-to-day challenges involving the environmental elements.To get a complete analysis of examination question pattern and to get ready to write an exam with confidence, subject experts of the NCERT has provided the Class 2 EVS Sample Paper 2023 with study & learning material that supports all formats of exams held under Term-1, Term-2 and other types of exams for every interested candidate.

civaget 说:
2023年12月05日 03:19

Putting user experience at the forefront is a tried-and-true recipe for 구글 seo rankings that soar.

civaget 说:
2023年12月06日 21:23

Stay updated with op사이트 순위 for quality online decisions.

civaget 说:
2023年12月07日 23:17

I've had a great experience at 안전카지노. It's a casino that values its players' safety.

civaget 说:
2023年12月09日 18:09

Discover the soul of Korea with 오피뷰. OPMoa's user-friendly platform guarantees a memorable experience.

civaget 说:
2023年12月12日 15:48

제주안마 therapists are masters at their craft. I've never felt so relaxed and pampered. Jeju Island's best-kept secret.

civaget 说:
2023年12月12日 16:05

Haeundae's 부산오피 options offer a refined take on Officetel culture. Enjoy the beach and the entertainment simultaneously.

civaget 说:
2023年12月13日 20:19

Discover the best officetel businesses through 오피가이드.

civaget 说:
2023年12月14日 18:05

For comprehensive nightlife guidance, look no further than 오피가이드.

civaget 说:
2023年12月15日 00:29

Excellent ideas throughout this post, I just added this to my RSS feed. Do you have any feedback on your most recent post though? 해외축구중계

SEO 说:
2023年12月17日 12:16

Oga's 출장마사지 is a breath of fresh air. Their therapists are skilled, and it's the perfect escape.

civaget 说:
2023年12月17日 18:48

오피가이드 simplifies officetel discovery, offering a comprehensive directory of businesses. Trust their real-time information for an informed choice.

civaget 说:
2023年12月17日 23:55

I appreciate 해외축구중계's vast match archive. I can revisit memorable games anytime.

civaget 说:
2023年12月18日 15:08

에볼루션카지노's live roulette is a must-try. The interactive experience and stunning visuals set it apart from other online casinos. You won't be disappointed!

civaget 说:
2023年12月20日 17:31

This article gives the light in which we can observe the reality. This is very nice one and gives in-depth information. Thanks for this nice article. 카지노사이트

civaget 说:
2023年12月23日 19:45

홍대 노래방Seven is fantastic! I had a blast with friends. The prices are unbeatable, and the sound quality is top-notch.

civaget 说:
2023年12月26日 21:55

The ranking system on "헬로밤" ensures I make informed choices.

civaget 说:
2024年1月02日 20:28

에볼루션카지노 never disappoints when it comes to gaming.

civaget 说:
2024年1月04日 19:11

강남오피 offers unparalleled wellness services. A must-visit in Gangnam!

SEO 说:
2024年1月23日 17:36

I’d need to verify with you here. Which is not one thing I usually do! I take pleasure in reading a submit that will make individuals think. Additionally, thanks for permitting me to remark! The Presidential Family

how to turn off do n 说:
2024年2月03日 12:51

I was curious if you ever considered changing the page layout of your blog? Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better. Youve got an awful lot of text for only having one or two pictures. Maybe you could space it out better?

SEO 说:
2024年2月04日 15:26

I discovered your blog site on google and check just a few of your early posts. Proceed to maintain up the excellent operate. I just extra up your RSS feed to my MSN Information Reader. Seeking forward to reading more from you in a while!… Büyükçekmece Escort

seo 说:
2024年2月07日 15:26

Some really marvelous work on behalf of the owner of this web site , dead great subject matter. agen murahqq

sar 说:
2024年2月07日 20:41

Thank you for the sensible critique. Me & my friend were just preparing to do a little research about this. We got a book from our local library but I think I learned more from this post. I’m very glad to see such magnificent info being shared freely out there. Sugar Defender

seo 说:
2024年2月11日 12:45

Respect to website author , some good selective information . 수원가라오케

sar 说:
2024年2月11日 20:38

Awesome and interesting article. Great things you've always shared with us. Thanks. Just continue composing this kind of post. sevilla

seo 说:
2024年2月12日 17:48

I’m usually to blogging and i really admire your content. The article has really peaks my interest. I am going to bookmark your web site and keep checking for brand spanking new information. Blox Fruits codes

seo 说:
2024年2月12日 19:26

I beloved as much as you will receive carried out right here. The comic strip is attractive, your authored subject matter stylish. nevertheless, you command get got an shakiness over that you would like be delivering the following. unwell undoubtedly come further beforehand once more since precisely the similar nearly a lot steadily within case you protect this hike. Dealers of nickel ribbon

seo 说:
2024年2月13日 12:07

you are in reality a excellent webmaster. The website loading pace is incredible. It seems that you’re doing any distinctive trick. Also, The contents are masterpiece. you have performed a wonderful task on this subject! Eu-Domestic

kayir 说:
2024年2月26日 19:20

I’m inspired, I need to say. Actually rarely do you come across a blog that’s both educative and exciting, and permit me inform you, you’ve got hit the nail for the pinnacle. Your concept is exquisite; the factor is a thing that inadequate purchasers are speaking intelligently about. I am glad that I located this at my locate some issue with this. <a href="https://www.outlookindia.com/outlook-spotlight/%EC%B9%B4%EC%A7%80%EB%85%B8%EC%82%AC%EC%9D%B4%ED%8A%B8-%EB%B0%94%EC%B9%B4%EB%9D%BC%EC%82%AC%EC%9D%B4%ED%8A%B8-%EC%8A%AC%EB%A1%AF%EC%82%AC%EC%9D%B4%ED%8A%B8-%EA%B2%80%EC%A6%9D%EC%99%84%EB%A3%8C-top5--news-338848">카지노사이트</a>

카지노사이트 说:
2024年2月26日 19:21

I’m inspired, I need to say. Actually rarely do you come across a blog that’s both educative and exciting, and permit me inform you, you’ve got hit the nail for the pinnacle. Your concept is exquisite; the factor is a thing that inadequate purchasers are speaking intelligently about. I am glad that I located this at my locate some issue with this. [url=https://www.outlookindia.com/outlook-spotlight/%EC%B9%B4%EC%A7%80%EB%85%B8%EC%82%AC%EC%9D%B4%ED%8A%B8-%EB%B0%94%EC%B9%B4%EB%9D%BC%EC%82%AC%EC%9D%B4%ED%8A%B8-%EC%8A%AC%EB%A1%AF%EC%82%AC%EC%9D%B4%ED%8A%B8-%EA%B2%80%EC%A6%9D%EC%99%84%EB%A3%8C-top5--news-338848]카지노사이트[/url]

Kenya Safari 说:
2024年3月05日 20:52

This can be a exquisite blog, could you be inquisitive about doing an interview approximately simply how you advanced it? If so e mail me!

flower bouquet deliv 说:
2024年3月15日 22:54

Very good article post.Really thank you! Will read on...

ugslot 说:
2024年3月21日 06:27

We are also noticing that traditional medical medical doctors are also spotting the expanded hobby in holistic recuperation and are sooner or later beginning to encompass the ones recovery techniques into their exercise to hold up with the contemporary inclinations. There are many approaches to benefit a creation method interview, but a few are extra effective than others.

zlib login 说:
2024年3月22日 00:02

I'm thankful for the sense of possibility I feel every time I walk through the library doors.

Slot Gacor Maxwin 说:
2024年3月22日 22:52

The the next event Someone said a blog, I wish who’s doesnt disappoint me approximately this vicinity. After all, It was my alternative for read, however I simply idea youd have some issue exciting to convey. All I listen may be a handful of whining approximately something that you can repair whilst you werent too busy trying to find attention.

florist in abu dhabi 说:
2024年3月23日 19:30

Great suggestions! I will try to use them. A difficult-hitting post.

Biblical studies boo 说:
2024年3月27日 06:00

Thank you for the good writeup. It in truth turned into once a amusement account it. Look advanced to far delivered agreeable from you! By the way, how can we preserve in contact?

leggings egypt 说:
2024年3月28日 06:06

I think different net-web site owners ought to take this internet web site as an model, very clean and high-quality user friendly style and design, not to mention the content material. You are an expert on this subject matter!

sportswear egypt 说:
2024年3月28日 21:17

I’ve presently started a website, the records you provide on this internet net page has helped me substantially. Thanks for all your time & paintings.

best bra brands in e 说:
2024年3月30日 08:02

I truly appreciate this article post.Really thank you! Great.

Lingerie Egypt 说:
2024年3月30日 23:48

I really like and appreciate your blog.Much thanks again. Really Great.

호짱 说:
2024年4月06日 16:52

Very incredible put up and right to the issue. I am now not certain if that is in fact the best vicinity to invite however do you people have any thoughts on in which to rent a few professional writers? Thanks

king scar lion real 说:
2024年4月14日 14:59

I am ceaselessly concept approximately this, regards for posting .

florist in uae 说:
2024年4月16日 04:42

Im obliged for the blog article.Really thank you! Will read on...

bikini dubai 说:
2024年4月18日 02:13

Great, thanks for sharing this article post.Really looking forward to read more. Fantastic.

bikini lebanon 说:
2024年4月30日 21:42

Thank you ever so for you article post. Really Cool.

flower bouquet rose 说:
2024年5月03日 00:36

I truly appreciate this blog post.Really thank you! Fantastic.

bouquet delivery dub 说:
2024年5月03日 04:45

Great, thanks for sharing this post.

Book flower bouquet 说:
2024年5月03日 14:06

Im thankful for the blog post.Really looking forward to read more. Great.

kenya safari masai m 说:
2024年5月05日 05:19

Gucci Handbags Perusing this strikes a chord in my memory of my preceding roommate. That guy was certainly one of many smartest men I recognize, however he were a little beatnik for my tastes though. Anyways I delighted in here, thank you. Can provide me some thing to argue about after i see him.

uae flowers abu dhab 说:
2024年5月07日 15:48

Hi, you used to write superb articles approximately seattle plumbers, but the last numerous posts were kinda lackluster… I pass over your high-quality articles. Past numerous posts are only a little out of track! Seattle Plumbing

best flower shop abu 说:
2024年5月08日 14:12

I truly appreciate this blog article. Really Cool.

seo 说:
2024年5月14日 14:56

Informative Site… Hello guys here are some links that contains information that you may find useful yourselves. It’s Worth Checking out…. Instant savings

slot gacor 说:
2024年6月02日 13:39

Hi my buddy! I want to say that this submit is fantastic, satisfactory written and include almost all tremendous infos. I would love to look greater posts like this .

flower store abu dha 说:
2024年6月03日 02:07

I truly appreciate this blog.Thanks Again. Keep writing.

flower delivery abu 说:
2024年6月03日 04:35

Thanks a lot for the blog article.Really looking forward to read more.

flower shops in abu 说:
2024年6月03日 08:14

Looking forward to reading more. Great article.Really looking forward to read more. Keep writing.

flower shop abu dhab 说:
2024年6月03日 11:46

I really like and appreciate your blog.Much thanks again. Really Great.

florist in uae 说:
2024年6月03日 13:26

Fantastic article post. Cool.

briansclub.cm 说:
2024年6月09日 06:21

Spot on with this write-up, I virtually assume this web site wants far greater attention. I’ll probable be once more to examine plenty more, thanks for that data.

insurance market 说:
2024年6月16日 08:09

i don’t like razors so i continually use hair clippers to cut my hair.,

best dart board 说:
2024年6月20日 15:26

Awesome article.Really thank you! Awesome.

flower store abu dha 说:
2024年6月21日 07:33

I appreciate you sharing this blog article.Really thank you! Want more.

florist in abu dhabi 说:
2024年6月22日 02:02

I am so grateful for your blog. Really Great.

تأمين سيارات ضد الغي 说:
2024年6月26日 16:13

Seriously this precious help is fantastic it really helped me or even my kids, thanks!

Damp proofing Dubai 说:
2024年6月29日 18:08

I truly appreciate this blog.Thanks Again. Keep writing.

Wall waterproofing D 说:
2024年6月29日 18:08

Wow, great article. Want more.

Star Wars Expanded U 说:
2024年7月06日 05:35

I wish I should write such articles, I can then boom visitors in your website. Please a few pointers on how to do it if it's miles a long segment technique?

mp3juice 说:
2024年7月15日 05:19

Hi there. Very exquisite weblog!! Guy .. Beautiful .. Wonderful .. I’ll bookmark your internet website online and take the feeds moreover…I am glad to find out pretty some beneficial information here within the placed up. Thanks for sharing…

Packers and Movers D 说:
2024年8月11日 23:08

GPS is absolutely a heaven sent system, you could usually pinpoint your specific place anywhere you're~

Packers and Movers D 说:
2024年8月12日 11:09

Oh my goodness! An wonderful article dude. Thanks Nonetheless I’m experiencing issue with ur rss . Don realize why Unable to join it. Is there every body getting similar rss disadvantage? Anyone who is aware of kindly respond. Thnkx

Packers and Movers G 说:
2024年8月16日 08:16

I in reality did now not realise that. Learnt a few difficulty new in recent times! Thanks for that.

https://pokertalk.si 说:
2024年8月31日 18:32

You have got a fantastic blog right here! Do you want to broaden invite posts by myself weblog?

win247 说:
2024年9月06日 21:43

Great, thanks for sharing this article post.Really looking forward to read more. Awesome.

Packers and Movers P 说:
2024年9月19日 01:56

Hello, i accept as true with that i noticed you visited my net website so i got here to “pass back the decide upon”.I’m looking to to discover topics to enhance my internet net site!I guess its right sufficient to use a number of your thoughts!!

sophia 说:
2024年9月22日 11:45

Nice blog and absolutely outstanding. You can do something much better but i still say this perfect.Keep trying for the best. slot gacor gampang menang

Packers and Movers M 说:
2024年9月26日 06:59

I ought to explicit my thanks to you just for rescuing me from this sort of condition. After getting to know at some stage in the world huge web and locating standards which aren't useful, I idea my entire life was over. Being alive minus the answers to the difficulties you’ve resolved throughout your overview is a vital case, and the type which may have badly affected my profession if I had not determined your internet website. The knowledge and kindness in taking care of all of the stuff was excellent. I don’t recognize what I might’ve achieved if I hadn’t encounter any such stuff like this. I am able to at this second appearance beforehand to my destiny. Thank you so much to your staggering and end result orientated assist. I will not hesitate to recommend the weblog to every person who might want route approximately this case.

sigaretta elettronic 说:
2024年10月16日 01:11

Thanks loads for being my mentor in this issue. My partner and that i enjoyed your article very an awful lot and maximum of all liked how you without a doubt dealt with the element I widely referred to as controversial. You occur to be continually extraordinarily type to readers truely like me and assist me in my lifestyles. Thank you.

hafiztalha 说:
2024年10月18日 15:46

"I love the extensive range of health drinks offered! Whether I’m looking for smoothies, protein shakes, or detox juices, there's something for everyone." <a href=" https://wtrboost.com/">health drink suppliers in uae</a>

hafiztalha 说:
2024年10月18日 15:47

"The selection of health drinks available in the UAE is impressive! I love how they cater to various dietary preferences, from vegan options to low-sugar choices." [url= https://wtrboost.com/]health drink suppliers in uae[/url]

wtrboost 说:
2024年10月23日 15:11

Great insights! I found the topic very useful." buy Sports bottles

pedrovazpaulo execut 说:
2024年11月17日 04:18

Your blog is a great resource.

sophia 说:
2024年12月16日 19:27

I'm glad I found this web site, I couldn't find any knowledge on this matter prior to.Also operate a site and if you are ever interested in doing some visitor writing for me if possible feel free to let me know, im always look for people to check out my web site. okeplay777

哩亞電子煙dcard 说:
2024年12月17日 20:51

To make the health system efficient, a centralized electronic health record system should be developed and implemented. This would ensure that patients could access care in any region. Thus it would make it easy to access health records from any healthcare facility owned and administered within any regional authority. It is expected that the Ministry of Health should take a leading role in this enterprise. Records of patients in private hospitals should be accessible to regional authorities given that they may be moved to a public hospital if the care they require cannot be attained there. Sometimes for financial reasons such as exorbitant cost, patients may be moved to a public hospital.

kiss918 说:
2024年12月19日 15:29

Awesome article.Much thanks again. Will read on...

toto togel 说:
2024年12月21日 18:50

You can be one of those amazing people who volunteer and help by offering free health screenings on fitness tests, immunizations, blood pressure and more. Try opting for public places like entertainment centers, shopping malls, and churches.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter