file then system
date: 2019-1-19
written by t0spring
idx
• file (and directory)
• filesystem
• mount to use
• brief from the disk
• one or more things
file (and directory)
• ls -al
• cp
• mv
• rm
• mkdir
• rmdir
• chmod
• chown
• getfacl
• ls –lZ
• chcon
• restorecon
SELinux rel
filesystem
• ext2, ext3, ext4
• reiserfs
• xfs
• fat
• ntfs
mount to use
• mount filesystem to ‘mounting point’
• df –Pk
• mount /dev/sdc1 /mnt/usb
brief from the disk
1. partition(ing)
2. make filesystem
3. mount(ing)
4. ls
/boot (ext4)
20%
swap
30%
/ (xfs)
50%
one or more thing, lvm
• lvm
• pvs
• vgs
• lvs
• Logical Volume Disk
• Physical
• Volume
• Logical
one or more thing, lvm
mount /data
logical lv_data
volume group vg_data
physical /dev/sda3 /dev/sdb1
one or more thing, raid
• raid1
• raid5
• mirror
• lots of disk
• hot spare
one or more thing, raid1
disk1
1
2
3
disk2
1
2
3
one or more thing, raid5
disk1
1
3
disk2
1
2
disk3
2
3
one or more thing, remote
• nfs
• cifs
• openafs
• s3
• ceph
• nfs
• smb
• rx
• iscsi
fine

More Related Content

PDF
Writing file system in CPython
PPTX
Linux again
PPTX
Unix cmd on_free_bsd
PDF
AOS Lab 1: Hello, Linux!
PDF
Linux fundamental - Chap 02 perm
ODP
BlankOn Server - Lesson Learned
PDF
Install Archlinux in 10 Steps (Sort of) :)
KEY
Amepad lt(tmpfs)
Writing file system in CPython
Linux again
Unix cmd on_free_bsd
AOS Lab 1: Hello, Linux!
Linux fundamental - Chap 02 perm
BlankOn Server - Lesson Learned
Install Archlinux in 10 Steps (Sort of) :)
Amepad lt(tmpfs)

What's hot (20)

PPT
Unix 6 en
PPTX
File permission in Linux
PDF
AOS Lab 2: Hello, xv6!
PDF
OSS AWS 핸즈온 강의
PDF
Course 102: Lecture 26: FileSystems in Linux (Part 1)
PDF
Linux Fundamental
ODP
Linux cmd
PPTX
Linux for Security Professionals (Tips and Tricks) - Init 6 10/2012
PPTX
Memory forensics
ODP
CS50x Permissions, Files, Users
PDF
Course 102: Lecture 14: Users and Permissions
PPTX
11 linux filesystem copy
PDF
Connect dell equallogic storage to linux instance
PPTX
Flex pod driven by Openstack
PDF
Introduction to Linux, Pico, G++
PDF
Course 102: Lecture 16: Process Management (Part 2)
RTF
Useful linux-commands
PDF
Fuse'ing python for rapid development of storage efficient FS
PPTX
Disk forensics for the lazy and the smart
Unix 6 en
File permission in Linux
AOS Lab 2: Hello, xv6!
OSS AWS 핸즈온 강의
Course 102: Lecture 26: FileSystems in Linux (Part 1)
Linux Fundamental
Linux cmd
Linux for Security Professionals (Tips and Tricks) - Init 6 10/2012
Memory forensics
CS50x Permissions, Files, Users
Course 102: Lecture 14: Users and Permissions
11 linux filesystem copy
Connect dell equallogic storage to linux instance
Flex pod driven by Openstack
Introduction to Linux, Pico, G++
Course 102: Lecture 16: Process Management (Part 2)
Useful linux-commands
Fuse'ing python for rapid development of storage efficient FS
Disk forensics for the lazy and the smart
Ad

Similar to File then system (20)

PDF
CIT173_Ch15_Mnstr_23.pdf
PPTX
Disk and File System Management in Linux
PDF
Inspection and maintenance tools (Linux / OpenStack)
PPT
Unix Administration 4
PPT
Ch12 system administration
PDF
File systems for Embedded Linux
PPT
Linux filesystemhierarchy
PDF
Linux fundamental - Chap 10 fs
PPSX
Logical volume manager xfs
PDF
lvm logical volume management is a tool in Linux that allows you to manage st...
PDF
linuxfilesystem-180727181106 (1).pdf
PPTX
CSA-lecture 6.pptx
PPT
Linux file system
PPTX
Linux file system
PPT
101 4.3 control mounting and unmounting of filesystems
ODP
Disks and-filesystems
ODP
Disks and-filesystems
PPTX
Linux Survival Kit for Proof of Concept & Proof of Technology
PPT
linux-file-system01.ppt
CIT173_Ch15_Mnstr_23.pdf
Disk and File System Management in Linux
Inspection and maintenance tools (Linux / OpenStack)
Unix Administration 4
Ch12 system administration
File systems for Embedded Linux
Linux filesystemhierarchy
Linux fundamental - Chap 10 fs
Logical volume manager xfs
lvm logical volume management is a tool in Linux that allows you to manage st...
linuxfilesystem-180727181106 (1).pdf
CSA-lecture 6.pptx
Linux file system
Linux file system
101 4.3 control mounting and unmounting of filesystems
Disks and-filesystems
Disks and-filesystems
Linux Survival Kit for Proof of Concept & Proof of Technology
linux-file-system01.ppt
Ad

Recently uploaded (20)

PDF
DP Operators-handbook-extract for the Mautical Institute
PPT
What is a Computer? Input Devices /output devices
PDF
Architecture types and enterprise applications.pdf
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PPTX
Modernising the Digital Integration Hub
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PPTX
Web Crawler for Trend Tracking Gen Z Insights.pptx
PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
Unlock new opportunities with location data.pdf
PPTX
Benefits of Physical activity for teenagers.pptx
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
CloudStack 4.21: First Look Webinar slides
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
The various Industrial Revolutions .pptx
DP Operators-handbook-extract for the Mautical Institute
What is a Computer? Input Devices /output devices
Architecture types and enterprise applications.pdf
sustainability-14-14877-v2.pddhzftheheeeee
Modernising the Digital Integration Hub
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
NewMind AI Weekly Chronicles – August ’25 Week III
Web Crawler for Trend Tracking Gen Z Insights.pptx
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
Final SEM Unit 1 for mit wpu at pune .pptx
Unlock new opportunities with location data.pdf
Benefits of Physical activity for teenagers.pptx
Taming the Chaos: How to Turn Unstructured Data into Decisions
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
CloudStack 4.21: First Look Webinar slides
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
1 - Historical Antecedents, Social Consideration.pdf
Zenith AI: Advanced Artificial Intelligence
Assigned Numbers - 2025 - Bluetooth® Document
The various Industrial Revolutions .pptx

File then system

  • 1. file then system date: 2019-1-19 written by t0spring
  • 2. idx • file (and directory) • filesystem • mount to use • brief from the disk • one or more things
  • 3. file (and directory) • ls -al • cp • mv • rm • mkdir • rmdir • chmod • chown • getfacl • ls –lZ • chcon • restorecon SELinux rel
  • 4. filesystem • ext2, ext3, ext4 • reiserfs • xfs • fat • ntfs
  • 5. mount to use • mount filesystem to ‘mounting point’ • df –Pk • mount /dev/sdc1 /mnt/usb
  • 6. brief from the disk 1. partition(ing) 2. make filesystem 3. mount(ing) 4. ls /boot (ext4) 20% swap 30% / (xfs) 50%
  • 7. one or more thing, lvm • lvm • pvs • vgs • lvs • Logical Volume Disk • Physical • Volume • Logical
  • 8. one or more thing, lvm mount /data logical lv_data volume group vg_data physical /dev/sda3 /dev/sdb1
  • 9. one or more thing, raid • raid1 • raid5 • mirror • lots of disk • hot spare
  • 10. one or more thing, raid1 disk1 1 2 3 disk2 1 2 3
  • 11. one or more thing, raid5 disk1 1 3 disk2 1 2 disk3 2 3
  • 12. one or more thing, remote • nfs • cifs • openafs • s3 • ceph • nfs • smb • rx • iscsi
  • 13. fine