Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save swdream/7298ff1a60f3f35467519f9fdaf0973e to your computer and use it in GitHub Desktop.
Save swdream/7298ff1a60f3f35467519f9fdaf0973e to your computer and use it in GitHub Desktop.
1. Root partition là data partition quan trọng nhất trong Linux enterprise and Unix system và là non-swap filesystem duy nhất được
được yêu cầu trong quá trình boot một unix hay linux system.
2. Root partition được mount tới root directory - the root filesystem của linux/unix system.
3. Root filesystem chứa các thư mục/file được yêu cầu để boot linux/unix system:
- thư mục mà qua đó các devices access (/dev)
- thư mục chứa các initialization và config file (/etc)
- thư mục chứa các libraries, system modules, security ... (/lib)
- thư mục chứa các file system binaries (/bin,/sbin)
Lý do khi có một file log lớn, khi đó sẽ làm root partition bị full.
- Khi hệ thống xảy ra vấn đề => boot lại => mất hết log
- khi log quá nhiều, nếu để log ở một partition khác, root partition không bị đầy => system vẫn hoạt động bình thường => dễ dàng
xoá log, data để fix ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment