Skip to main content

Accessing Linux File system(Red Hat Linux)

  Storage Management Concept

• A file system is an organized structure of data-holding files

and directories residing on a storage device, such as a

physical disk or partition. The process of adding a new file

system to the existing directory tree is called mounting. 


The directory where the new file system is mounted is referred

to as a mount point. Hard disks and storage devices are

normally divided up into smaller chunks called partitions.


 Mount point & File System

• A file system is an organized structure of data-holding files

and directories residing on a storage device, such as a

physical disk or partition. The process of adding a new file

system to the existing directory tree is called mounting. The

directory where the new file system is mounted is referred

to as a mount point. Hard disks and storage devices are

normally divided up into smaller chunks called partitions.


• Partition can be assigning same file system or different file

system; it depends on partition purpose. Storage devices

are represented by a special file type called block device.

The block device is stored in the /dev directory. In Red Hat

Enterprise Linux, the first SCSI, SATA, or USB hard drive

detected is /dev/sda, the second is /dev/sdb, and so on.


• The first partition on /dev/sdais /dev/sda1, the second

partition is /dev/sda2, and so on.


• Partition can be assigning same file system or different file

system; it depends on partition purpose. Storage devices

are represented by a special file type called block device.

The block device is stored in the /devdirectory.

• In Red Hat Enterprise Linux, the first SCSI, SATA, or USB

hard drive detected is /dev/sda, the second is /dev/sdb, and

so on. The first partition on /dev/sdais /dev/sda1, the second

partition is /dev/sda2, and so on.

 Logical Volume

• You can manage your disk partition with LVM (Logical

Volume management) concept. LVM has special feature

that you resize the existing partition.

• One or more block devices can be aggregated into a

storage pool called a volume group. Disk space is made

available with one or more logical volumes.

 Examining File System

• To get an overview about the file system, mount points and

the amount of free space available you can use df and du

command. df command will give you total disk space, used

disk space and free disk space. du command is used for get

more details information about space used. df and du can

be used by –h or –H to get the output in human readable

format.

 Mounting File System

• The Linux mount command is used to mount USBs, DVDs,

SD cards, partition and other types of storage devices on a

computer running the Linux operating system. The mount

command allows the root user to manually mount a file

system. The first argument of the mount command specifies

the file system to mount. The second argument specifies

the target directory where the file system is made available

after mounting it.

• Automatically Mounting of Removal Devices.

o If you are logged in Graphical Desktop Environment, it will

automatically mount the removal devices.

 The removal storage devices is mounted at

/run/media/UserName/Label.

o Before removing the device, you should unmount the

device.

• Unmounting File System

o The shutdown and reboot procedures unmount all file

system automatically.

o Unmounting is not possible if mounted file system is in use.

o The # lsof command lists all open files.

 # umount /mnt

used disk space and free disk space.

 Searching files

• A system administrator needs tools to search file with

certain criteria.

• In Linux there is several methods of searching or finding

files and directory.

• The “locate” and “find” command as well ls command we

can used for locating a files or directory. “updated”

command will update the database of locate manually. By

default, database update automatically everyday.

• In Linux there is several methods of searching or finding

files and directory.

• The “locate” and “find” command as well ls command we

can used for locating a files or directory. “updated”

command will update the database of locate manually. 


By default, database update automatically every day. The locate

command searches a pre-generated database for file

names or file paths and returns the results immediately.

• Locate Command 

o “updatedb” command will update the database of locate

manually. By default, database update automatically every

day.

o The locate command searches a pre-generated database

for file names or file paths and returns the res

Comments

Popular posts from this blog

what is computer network and their types ?

   what is network ? -  A network is a group of two or more computer systems, which are connected together. It also consist of a collection of computers, printers, scanner and other devices that are liked together. Networking has single purpose to share information as fast as possible.   The basic types of network- 1) LAN - LAN stands for Local Area Network. It is used to network computers within a limited area like office, school by using the network media. 2) CAN - Campus Area Network is an interconnection of local area networks within limited geographical area. campus network can be additional to the set of wireless connections. connects several buildings to the same network. Example, corporate office campus, university. 3) MAN - MAN means Metropolitan Area Network, which optimized for a larger geographic area than a LAN, ranging from several blocks of buildings to entire city. 4) WAN - WAN is Wide Area Network that is network connection of wide area such as the w...

Network Topology and types

   What is topology ? - Network Topology is the arrangement of the various elements (links, nodes etc.) of a computer network. Essentially, it is the topological structure of a network and may e depicted physically or logically. Topologies are divided into two types. one is called physical topology and another one is logical topology. Physical Topology is the placement of the various components of a network, including device location and cable installation, while logical topology illustrates how data flows within a network, regardless of its physical design. There are number of reasons to understand network topology. - The network topology impacts performance - The network topology is a factor in determining the media type used  to cable the network. - Knowledge of network layout  helps to optimize the network  performance  and troubleshoot network performance issues. Topology                      ...

All about Hyper-V in windows 10

   Windows Client-Side Hypervisor  l The client-side Hypervisor known as Client Hyper-V was introduced in Windows 8 Operating system. In Windows 10,  t he Client-side Hyper-V has got its features enhanced. Need for client Hyper-V - l Client Hyper-V is used to test or perform demo of operating system features or particular application software.  l Client Hyper-V can also be used to Run a legacy application that are not supported by Windows 10 .  It is used for User support and Troubleshooting. Features of Client Hyper-V are :   l Client Hyper-V supports 32 bit or 64-bit Virtual Machines.  l Used for storage migration or can also be used to create a virtual storage pool.  l Client Hyper-V uses VHD with maximum limit 2TB or VHDX with maximum limit of 64 TB software disk files.  l It can use local software Disk or LAN based storage also known as NAS Network Attached Storage.  l Client Hyper-V supports Import and Export of the VMs to Ser...