Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Linux OS Interviews:Awk ProgrammingBash Arithmetic ExpressionsDevice DriversGCC CompilerLinux AdministratorLinux CommandsLinux DebuggingLinux EnvironmentLinux GeneralLinux IPCLinux MakefileLinux OSLinux OS EditorsLinux OS ManagementLinux OS ShellLinux Proc FilesystemLinux Search PatternLinux Shared & Static LibrariesLinux Socket ProgrammingLinux Startup and ShutdownLinux SysfsLinux SystemsLinux ThreadsLinux UbuntuSignal HandlingSystem Calls
Copyright © 2018. All Rights Reserved
System Calls Interview Question:
How to use resize2fs, what is the purpose?
Submitted by: Administratorresize2fs is only for ext2 filesystem but not ext3.
first unmount the partition
#umount /dev/sda1
#tune2fs -O ^has_journal /dev/sda1 #to remove journal from /dev/sda1
#e2fsck -f /dev/sda1
#resize2fs /dev/sda1 600M #resize the partition
Submitted by: Administrator
first unmount the partition
#umount /dev/sda1
#tune2fs -O ^has_journal /dev/sda1 #to remove journal from /dev/sda1
#e2fsck -f /dev/sda1
#resize2fs /dev/sda1 600M #resize the partition
Submitted by: Administrator
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.