Description
Operating system: CentOS
Disk capacity of 300GB, before the partition of only a 150GB/data partition, now/data partition is not enough.
Requirements: Increase the remaining 150GB capacity of this disk to the previous/data partition, and ensure that the original data of the/data partition is not corrupted.
Specific actions:
First, shut down the service that uses/data partition, here/data partition is MySQL database
1.FDISK-L View partition information
Enter the Fdisk interactive interfaceM View HelpL View the file system number and nameN New PartitionD Delete PartitionsP View partition table (partition information)t change the partition file system typeQ Do not save exitW Save exit
First step: Partition
Second cloth: Update the partition tablePartprobe/dev/sdb REDHAT5 Scan Hard DrivePartx-a/dev/sdb redhat6 (reboot
Data security warning: fdisk causes the ASM disk data loss solution. For more information, see.
Data security warning: fdisk causes the ASM disk data loss solution. For more information, see.
Data security warning: fdisk causes the ASM disk data loss solution. For more information, see.
Yesterday, a friend encountered a database fault case:11.2.0.3 the d
Use fdisk to adjust the partition structure-general Linux technology-Linux technology and application information. The following is a detailed description. Original Author: charlee
Note: The fdisk here is not the fdisk in DOS, but the fdisk in linux.
I have already divided many partitions on my hard disk, and each
Source: Zhongguancun online
Nowadays, the development speed of hard disk capacity is far higher than that of other hardware devices. The 40 GB hard disk in the past is no longer "big", and the mainstream configurations are 80 GB and 120 GB, even 160 GB and GB are not a minority. After purchasing a large hard drive, the first thing is to partition the hard drive.
Generally, the operating system is not installed on the new machine. Many people use the Fdisk
Disk Partition: fdisk disk partition: fdisk root @ cnws-PC :~ # Fdisk [-l] device name selection without parameters:-l: output all the partition content following the partition device. If there is only fdisk-l, the system will list the partition partitions that can be searched for in the entire system. Example: Find th
Tags: label HTML ESC Primary partition type res info Write blogOriginal: http://www.cnblogs.com/jiu0821/p/5503660.html~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disk partition ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1. creating partitions [[emailprotected] ~]# Fdisk-l view disk partitioning [[emailprotected] ~]# Fdisk/dev/sdbcommand (M for help): M get assistance
~]# fdisk-l# list partition table650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/7F/A4/wKioL1cnVJShC6c3AAHcHcJyK-0745.jpg "title=" 1.jpg " alt= "Wkiol1cnvjshc6c3aahchcjyk-0745.jpg"/>~]# fdisk/dev/sda# Change the specified disk ~]# cat/proc/partitions confirm the change effectChange Disk command actionsD (delete a partition): Delete partitionN (add a new partition): Create a new partitionP (Print
################################################Device files:B: Devices that are randomly accessed (hard disks) in blocksC: In characters, linear device (keyboard)/devMain device number (major numbers)Marking device TypeSecondary device number (minor numbers)Mark different devices in the same typeThe file name of the hardware deviceIDE ATA:HDSata:sdScsi:sdUsb:sd################################################Mknod################################################FdiskSee how many hard drives are i
The following operations are all based on a Linux virtual machine (CentOS6.6) on a Win7 64-bit system.When the hard disk space of the Linux virtual machine is not enough, you can add the hard disk block manually, the process is as follows:Right-click the virtual machine and tap the "ADD" button:Select "Hard Disk" and click "Next":Select "Create a new Virtual disk" and click "Next":Select "SCSI" and click "Next":To set the hard disk size, "store disk as a single file", click "Next":Click "Finish"
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 hard disk partition
Fdisk/dev/sdb partitions the second Hard Disk
Command acton (m for help): m # displays t
Tags: fdisk
######################################## ###################
# An IDE hard drive can only create four partitions. If you want to create more than four partitions, you need to take out one primary partition ## Expand the partition, and then perform other partitioning operations in the extended partition. ######################################### ###################
[[Email protected] ~] # Fdisk
Use the fdisk and partprobe commands in Linux to create and format partitions without restarting the system (1)
Due to work needs, I have been learning Linux for some time. To learn a new knowledge, I like to learn from a book or a certain video system, so that I can have a comprehensive understanding and understanding of the new learning knowledge. So before learning, I bought a private house dish of laruence as a reference book and started to study
FDISK command:1. View the partition information for the disk:Fdisk-l [-u] [device ...] : Lists the partitions on the specified disk device;Fdisk-l CENTOS6 start end represents the start, end cylinderCentos7 start end represents the start, end sectorID is 16 binary display2. Managing partitionsFDISK deviceFDISK provides an interactive interface for managing partitions, which has a number of subcommands for d
The Linux system fdisk command creates a new partition--fdisk commandFdisk-l/DEV/SDA # Viewing partitionsFDISK/DEV/SDA # Creating partitionsN # New Partition(e # Create an extended partition)(P # Create primary partition)(t # Change the partition type)P # View PartitionsW # Write information to diskPartx-d/DEV/SDAPartx-a/DEV/SDA--Formatting partitionsMkfs-t EXT3/DEV/SDA5 (newly created partition)--Create a
When I recently used Redhat Linux5, I encountered the following error using the FDISK command:Bash:fdisk:command not foundFound on the Internet, the solution is as follows:First, the reason for this error is that Fdisk is not in pathTo view path paths:[[Email protected] ~] $echo $PATH/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/baixiaohu/binLocate the
Data security warning: fdisk causes the ASM disk data loss solution. For more information, see.
Yesterday, a friend encountered a database fault case:11.2.0.3 the database crashed due to damage to the asm disk header block and encountered an incorrect ORA-15196.More detailed error: ORA-15196: invalid ASM block header [kfc. c: 26076] [endian_kfbh] [256] [0! = 1]Further checks have found that the primary and standby databases are also damaged. This mak
For more information about the ASM disk data loss caused by fdisk in oracle, see.
11.2.0.3 the database crashed due to damage to the asm disk header block and encountered an incorrect ORA-15196.More detailed error: ORA-15196: invalid ASM block header [kfc. c: 26076] [endian_kfbh] [256] [0! = 1]Further checks have found that the primary and standby databases are also damaged. This makes everyone confused. Why is the primary and standby databases damag
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.