To create a new ext3 file system on a disk that has been added to a Linux server or desktop, you will need to use the mkfs.ext3
command. This command is used to create a new ext3 file system on a disk or partition.
Here's a general outline of the steps you will need to follow to create a new ext3 file system on a disk using the mkfs.ext3
command:
Identify the device name of the disk that you want to create the file system on. You can use the fdisk -l
command to list the available disks and their device names.
Unmount the disk if it is currently mounted. You can use the umount
command to unmount the disk.
Run the mkfs.ext3
command to create a new ext3 file system on the disk. Specify the device name of the disk as the argument to the mkfs.ext3
command.
mkfs.ext3 /dev/<device>Source:www.lautturi.com
Replace <device>
with the device name of the disk.
Wait for the mkfs.ext3
command to complete. This may take a few minutes, depending on the size of the disk.
Mount the new ext3 file system on the disk. You can use the mount
command to mount the file system on a directory.
mount /dev/<device> <mountpoint>
Replace <device>
with the device name of the disk and <mountpoint>
with the directory where you want to mount the file system.
Once you have created a new ext3 file system on the disk, you should be able to access and use it like any other file system on your Linux system. Consult the mkfs.ext3
manual page and online resources for more information on how to use this command and options that you can use to customize the file system.