![Disk and Partitioning Concepts in a Job Context Disk and Partitioning Concepts in a Job Context](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZ5_SyYeZAQ-TEEiKv5AtzKzww6S2kCrq609ZafIzmFGm8V-33SChirvys9nDVHaIuygFZSUOcKgtS283FQe0ogABfweUR2CU2rmWMp0LPcfZGJG7Zag9doYQbyOfy1KHuPNdRhecHSHAykBZq3eIDn5HF2G34OkFN1_Y4s6res_X2GTOJMtYP7ayADSm8/w400-h195/0_TkZAjMJK8baxeAW9.webp)
- Understanding Business Requirements:
- In a real-world scenario, a company might require a
specific setup for hosting data. For example:
- Create a directory (/web) to host website data with a file size of 5GB.
- Use commands like mkdir
/web and df -h to
manage directories and check disk space.
- Adding Hard Drives (HDD) in Different Scenarios:
- Traditional Method (Physical Connection):
- Adding a new HDD (sdb) to a server where sda already exists.
- Requires a physical reboot of the server.
- Job Perspective:
You might handle physical server maintenance, HDD installation, and
server reboots.
- Hot Plug Devices (USB/Pendrive):
- Connecting USB drives without needing a server
reboot.
- Job Perspective:
Useful in environments needing quick, temporary storage solutions or
backups.
- Using SAN Box (Storage Area Network):
- SAN is used for large storage needs, where multiple
hard drives are pooled.
- LUNs (Logical Unit Numbers) are created and allocated
to different teams as needed.
- Job Perspective:
As a system administrator or storage manager, you might configure SAN
storage, create LUNs, and allocate them based on departmental
requirements.
- Connecting SAN to Linux Servers:
- LUNs:
Logical partitions of SAN storage, like creating partitions on a single
HDD.
- HBA Card:
Used for high-speed connections to SAN, essential for enterprise
environments.
- Commands for LUN Scanning:
- echo "---" >
/sys/class/scsi_host/hostX/scan
to scan and recognize new LUNs.
- Job Perspective:
In a job, you would manage storage systems, ensure they are properly
connected, and perform scans to detect new storage devices without
downtime.
Post a Comment
If you have any queries regarding this topic, please let me know.