Alibabacloud.com offers a wide variety of articles about partition hard drive linux, easily find your partition hard drive linux information here online.
Several methods of mounting hard disk partition under Linux 1, using AutoFS to mount partitions automatically
2. Modify/etc/fstab
3, write shell script, boot automatically run mount command
Methods one, using AutoFS
1, the characteristics of AutoFS: AutoFS and Mount/umount difference is that it is a caretaker program (Deamon). If it detects that a user is trying
The FDISK command is used to manage disk partitions in the format: "fdisk [disk name]".Managing hard disk devices in Linux systems the most common method is to use the FDISK command, which provides a "one-stop partition service" for adding, deleting, converting partitions, and so on, but the parameters of this command are interactive instead of the same parameter
Nux disk partition format and Mountsignificance : Add a hard disk to the Linux system serverexperimental Environment : VirtualBox virtual software + centos6.5Step One: Add hardware hard drive ( I use virtualBox simulation here )StartView the device and Locate the newly add
Common commands for Linux shellsSet command aliasesAlias ' La=ls-al 'In command-line modeCTRL+ALT+F1---> Ctrl+alt+f6 can control the opening of multiple shellsShutdown or restartRestart: Reboot/init 6 shutdown: showdown-h now/init 0To mount the hard drive:Virtual Machine---> virtual machines Settings--add to hard drive
Refer to the partition of the hard disk, formerly is very chaotic, what is the main partition/extended partition/logical partition, etc; what's the difference? Now a simple look; Because in the MBR master boot record in the partition
Transferred from: http://blog.chinaunix.net/uid-25829053-id-3067619.htmlMount the new hard drive and enter the FDISK-L command to view the current disk information (the addition of new hard disks in Linux, the non-mounted file system df is not visible)FDISK-L viewing Current disk informationYou can see a second
To add a hard disk for linux, you need to partition the disk before formatting it, and mount the partition before using it.
Disk Partition
A hard disk can have a maximum of four primary partitions. the larger partitions need to be
partitions (numbers 5 to 63 ), the SATA hard drive has 11 logical partitions (numbers 5 to 15 ). (3) the hard drive consists of www.2cto.com sectors (Sector) as the smallest physical storage unit, with each slice 512 bytes. the slice is a circle, that is, Cylinder ), the magnetic column is the smallest unit of
: Select another option. Partition when found the mobile hard disk set aside "idle" location, press "+", novice only two zones, 2G to swap, the rest of the full/hang at the point (EXT4). Attention!! Install the boot boot device AS/hang on the point partition5. Where you are: Choose the region when you can choose Taipei, because this source is relatively fast, can be under the Chinese language pack, time is
Hard disk identification for Linux:
After 2.6 kernel, Linux will identify the hardware devices, under the/dev/to establish the appropriate device files. such as:
SDA represents the 1th SCSI hard drive
HDA represents the 1th IDE hard
At present, many people in PC use Windows system, but also installed Linux system, so how to implement the hard disk resources in Linux or Windows Exchange visits is very important.Access Windows hard disk partition under LinuxAccessing the
Add a virtual hard diskSpecify disk spaceA 20G hard drive was added to the virtual machine successfully. In Linux this defines SDA as the first hard disk, the second hard disk as SDB, and so on. SDA1 is the first
hard drives, SDA and SDB, where SDA is currently in use in the hard drive, SDB is the new plus go hard drive.
2. Create a new hard disk partition for SDB:
First of all, Fdisk can use
My machine also has Windows and Linux operating systems, and Linux does not normally support Windows ' partition format. And the most of our personal users are often Windows systems, in learning to avoid between the two systems to exchange files. Fortunately, the Linux system provides a mount command that can be used t
A hard disk partition consists of a primary partition and an extended partition, with a maximum of four partitions. If all the IDE Hard Disks are primary partitions and extended partitions, they are hda1, hda2, hda3, and hda4 respectively. If you want to have more partitions
specific measures to optimize the hard disk performance of Linux. I. Clear Disks This method looks simple: Clear the disk drive, delete unnecessary files, and clear all files that need to be saved but will not be used. If possible, clear unnecessary directories and reduce the number of subdirectories. These suggestions seem obvious, but you will be surprised t
Linux system if the partition is the wrong disk. The FDISK-L directive can view all available disks, with their details and partition information (if the disk is not partitioned, then there is no partition list information behind the disk information).In addition, the Linux
Original: Unknown
Linux Partitioning Concepts
First of all, introduce the concept of partition in Linux, this is the first to learn I have suffered. In Linux, each hard disk device can have up to 4 primary partitions (which contain extended partitions), and any one of the ex
Linux platform uses fdisk partitioning to Format hard disks-general Linux technology-Linux technology and application information. The following is a detailed description. Format and partition
Hd-IDE device sd-SCSI Device
Fdisk-l/dev/sda view the first
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.