Rhel6.0 disk partition encryption 3 -- automatic mounting-httpfm.5460.netusermain. jsp

Source: Internet
Author: User
Enable automatic mounting of encrypted partitions. 1. view the uuid of the partition. For example, you can use blkid to view the uuid of the partition. [root @ server1 ~] # Lldevdiskby-uuidtotal0lrwxrwxrwx.1rootroot10Jul1605: 573c5611fe-9d40-44f1-aaae-63fd12b88586-... dm-0lrwxrwxrwx.1rootroot10

Automatically mount encrypted partitions,

1. view the uu of the partitionIdFor example, you can also use blkid to view,

[Root @ server1 ~] # Ll/dev/disk/by-uuid/

Total 0

Lrwxrwxrwx. 1 root 10 Jul 16 05:57 3c 5611fe-9d40 -44f 1-aaae-63fd12b88586->.../dm-0

Lrwxrwxrwx. 1 root 10 Jul 16 05:59 79a 9a 7b6-bfca-46b3-80d5-1323e 82c 38Df-> ../Sda7

Lrwxrwxrwx. 1 root 10 Jul 16 05:57 912a 609f -1DdC -4c 72 -932a -C55ea 18c 934d->.../../sda6

Lrwxrwxrwx. 1 root 10 Jul 16 05: 48 7a 09bba -751f -427a -B 3a 7-b91ee6eb 3a 5a -> ../Sda1

Lrwxrwxrwx. 1 root 10 Jul 16 05:48 b714dd11 -0c 1e-4d 9a -9541-9512286bb56d->.../sda3

Lrwxrwxrwx. 1 root 10 Jul 16 05:48 bf88fead-5856-4500-8913-a3ceb4d620ff->.../sda2

Lrwxrwxrwx. 1 root 10 Jul 16 05:48 d 010c 333-c041-42b3 -98c 2-c5bc89983229->.../sda5

Lrwxrwxrwx. 1 root 10 Jul 16 06:02 ee 8915c 1-0aca -470c -Ac31-d13131792fef->.../dm-1

[Root @ server1 ~] # Blkid

/Dev/sda1: UUID =" 7a 09bba -751f -427a -B 3a 7-b91ee6eb 3a 5a "TYPE ="ExT4"

/Dev/sda2: UUID = "bf88fead-5856-4500-8913-a3ceb4d620ff" TYPE = "ext4"

/Dev/sda3: UUID = "b714dd11 -0c 1e-4d 9a -9541-9512286bb56d "TYPE =" ext4"

/Dev/sda5: UUID = "d 010c 333-c041-42b3 -98c 2-c5bc89983229 "TYPE =" swap"

/Dev/sda6: UUID =" 912a 609f -1ddc -4c 72 -932a -C55ea 18c 934d "TYPE =" crypto_LUKS"

/Dev/sda7: UUID =" 79a 9a 7b6-bfca-46b3-80d5-1323e 82c 38df "TYPE =" crypto_LUKS"

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.