Day 37th: Add inode and Mount iOS images

Source: Internet
Author: User

One: Increase the inode

Most of the word node is translated as an index node, in the Ext3 file system, to adjust the inode number of the disk.

This is just the parameter to adjust the inode number;

If you want to adjust the inode size or blocksize, you can specify MKFS.EXT3 commands.


Uninstalling the file system

# Umount/dev/sda6

Set up the file system to specify Inode node points

# mkfs.ext3/dev/sda6-n "Inode node Count"

# # MKFS.EXT3 Command's-n option to specify a custom Inode node count

Mount File System

# Mout/dev/sda6/data

To view the modified Inode parameters

# dumpe2fs-h/dev/sda6 | grep node


[note] Adjusting the inode number will format the disk, and you should make sure that there is no important data on the disk or back up the data before execution



Two: Mount image

The disc image file is a file that is suffixed with the ISO name. Under Linux, you can copy the disc directly into a mirrored text

Of course, you can also attach the image file to a directory.

Copy the disc into an image file

Cp/dev/cdrom/data/linux.iso

This allows the disc to be made into an image file, and the image file can be mounted as a disc.

Mount image File

Mount-o loop/data/linux.iso/data/iso/





Day 37th: Add inode and Mount iOS images

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.