Showing posts with label FileSystem. Show all posts
Showing posts with label FileSystem. Show all posts

Monday, April 9, 2012

bench3

How To Optimize and Safeguard Disk Drives

Windows makes extensive use of disk drives during startup and normal operations. You can often dramatically improve operating system and application performance by optimizing a computer's disk drives. You should focus on disk space usage, disk errors, and disk fragmentation. You might also want to compress data to reduce the space used by data files, freeing up space for additional files.

Data security is also an important aspect to consider when optimizing disk drives. The organization's data should be protected and stored in the most secure form possible.

With this in mind, you might want to consider converting (for Windows XP and Vista) file allocation table (FAT16 or FAT32) drives to NTFS file system (NTFS). Such a conversion enables you to take advantage of the Windows Vista user and group security features and then encrypt drive data once you do this. Data encryption prevents unauthorized users from accessing important files.

How To Optimize and Safeguard Disk Drives

Disk maintenance tools, such as Disk Cleanup, Check Disk, and Disk Defragmenter, take advantage of new resource prioritization features in Windows. These changes enable these tools to run in the background and to take advantage of system idle time while running. As a result, users get a consistently good performance level even when background maintenance tasks are running.

Reducing Disk Space Usage

You should closely monitor disk space usage on all system drives. As drives begin to fill up, their performance and the performance of the operating system as a whole can be reduced, particularly if the system runs low on space for storing virtual memory or temporary files.

One way to reduce disk space usage is to use the Disk Cleanup tool to remove unnecessary files and compress old files. To eliminate the need to remind users to run Disk Cleanup, you can schedule Disk Cleanup to run regularly.

Read More

Sunday, February 5, 2012

bench3

Advantages of DFS Replication

DFS Replication, the successor to the File Replication service (FRS) introduced in Windows 2000 Server operating systems, is a new, state-based, multimaster replication engine that supports replication scheduling and bandwidth throttling. DFS Replication uses a new compression algorithm known as remote differential compression (RDC). RDC is a "diff-over-the wire" client-server protocol that can be used to efficiently update files over a limited-bandwidth network. RDC detects insertions, removals, and re-arrangements of data in files, enabling DFS Replication to replicate only the changed file blocks when files are updated.

DFS Replication uses many sophisticated processes to keep data synchronized on multiple servers. Before you begin using DFS Replication, it is helpful to understand the following concepts.

Advantages of DFS Replication

Figure: Configuring DFS Replication On Windows Server 2008

  • DFS Replication is a multimaster replication engine. Any change that occurs on one member is replicated to all other members of the replication group.
  • DFS Replication detects changes on the volume by monitoring the update sequence number (USN) journal, and DFS Replication replicates changes only after the file is closed.
  • DFS Replication uses a staging folder to stage a file before sending or receiving it. For more information about staging folders, see Staging folders and Conflict and Deleted folders.
  • DFS Replication uses a version vector exchange protocol to determine which files need to be synchronized. The protocol sends less than 1 kilobyte (KB) per file across the network to synchronize the metadata associated with changed files on the sending and receiving members.
  • When a file is changed, only the changed blocks are replicated, not the entire file. The RDC protocol determines the changed file blocks. Using default settings, RDC works for any type of file larger than 64 KB, transferring only a fraction of the file over the network.
  • DFS Replication uses a conflict resolution heuristic of last writer wins for files that are in conflict (that is, a file that is updated at multiple servers simultaneously) and earliest creator wins for name conflicts. Files and folders that lose the conflict resolution are moved to a folder known as the Conflict and Deleted folder. You can also configure the service to move deleted files to the Conflict and Deleted folder for retrieval should the file or folder be deleted. For more information, see Staging folders and Conflict and Deleted folders.
  • DFS Replication is self-healing and can automatically recover from USN journal wraps, USN journal loss, or loss of the DFS Replication database.
  • DFS Replication uses a Windows Management Instrumentation (WMI) provider that provides interfaces to obtain configuration and monitoring information from the DFS Replication service.
Read More

Thursday, January 19, 2012

bench3

Facts About Filenames In Linux Environment

File are collection of data items stored on disk. Or it's device which can store the information, data, music (mp3), picture, movie, sound, book etc. In fact what ever you store in computer it must be inform of file. Files are always associated with devices like hard disk ,floppy disk etc. File is the last object in your file system tree.

Filenames may contain any character except / (root directory), which is reserved as the separator between files and directories in a pathname. You cannot use the null character.

  • Filenames that begin with a period character are hidden. This only means that ls will not list them unless you say ls -a. When your account was created, several hidden files were placed in your home directory to configure things for your account. Later on we will take a closer look at some of those files to see how you can customize your environment. In addition, some applications place their configuration and settings files in your home directory as hidden files.
  • Filenames and commands in Linux, as in Unix, are case sensitive. The filenames File1 and file1 refer to different files.
  • Linux has no concept of a “file extension” like some other operating systems. You may name files any way you like. The contents and/or purpose of a file is determined by other means. Although Unix-like operating systems don’t use file extensions to determine the contents/purpose of files, some application programs do.

Though Linux supports long filenames that may contain embedded spaces and punctuation characters, limit the punctuation characters in the names of files you create to period, dash (hyphen), and underscore.

Most importantly, do not embed spaces in filenames. Embedding spaces in filenames will make many command line tasks more difficult. If you want to represent spaces between words in a filename, use underscore characters. You will thank yourself later.

Like the root (/) character, you should also avoid using the following characters from appearing in file names as they are reserved characters by Linux / Unix

  • /
  • >
  • <
  • |
  • :
  • &

If you are using an older version of Linux or UNIX, the maximum limit for a filename is restricted to only 14 Characters. However, Most modern Linux and UNIX limit filename to 255 characters (255 bytes).

Read More

Monday, December 12, 2011

bench3

Securing Access to Files and Folders On Windows | Understanding NTFS Permissions

NTFS permissions control access to NTFS files and folders. This is based on the technology that was originally developed for Windows NT. Ultimately, the person who owns an object has complete control over the object. You configure access by allowing or denying NTFS permissions to users and groups.

On NTFS partitions, you can specify the access each user has to specific folders or files on the partition based on the user ’ s logon name and group associations. Access control consists of rights and permissions. A right (also referred to as a privilege) is an authorization to perform a specific action.

To understand the Difference Between FAT And NTFS File System, follow this location, FAT And NTFS File.

Permissions are authorizations to perform specific operations on specific objects. The owner of an object or any user who has the necessary rights to modify permissions can apply permissions to NTFS objects. If permissions are not explicitly granted within NTFS, then they are implicitly denied. Permissions can also be explicitly denied, which then overrides explicitly granted permissions.

Securing Access to Files and Folders On Windows  Understanding NTFS Permissions

The following sections describe design goals for access control as well as how to apply NTFS permissions and some techniques for optimizing local access. Let ’ s take a look at design goals for setting up security.

Design Goals for Access Control

Before you start applying NTFS permissions to resources, you should develop design goals for access control as a part of your overall security strategy. Basic security strategy  suggests that you provide each user and group with the minimum level of permissions needed for job functionality. Some of the considerations when planning access control include the following:

  • Defining the resources that are included within your network — in this case, the files and folders residing on the file system
  • Defining which resources will put your organization at risk, including defining the resources and defining the risk of damage if the resource was compromised
  • Developing security strategies that address possible threats and minimize security risks
  • Defining groups that security can be applied to based on users within the group membership who have common access requirements, and applying permissions to groups as opposed to users
  • Applying additional security settings through Group Policy if your Windows 7 clients are part of an Active Directory network
  • Using additional security features, such as Encrypted File System (EFS), to provide additional levels of security or file auditing to track access to critical files and folders

After you have decided what your design goals are, you can start applying your NTFS permissions.

Normally, NTFS permissions are cumulative, based on group memberships if the user has been allowed access. This means that the user gets the highest level of security from all the different groups they belong to. However, if the user had been denied access through user or group membership, those permissions override the allowed permissions. To know more on how to Setting NTFS Permissions In Windows, follow this link: Setting NTFS Permissions.

Read More

Saturday, December 3, 2011

bench3

Understanding Virtual Folders On Windows | Windows Future Storage (WinFS)

You dont want to worry about the physical file system paths, and real folders. Instead, you just want to use the virtualized system. So that you wouldn’t need to worry about such arcane things as “the root of C:” and the Program Files folder. Instead, you would just access your documents and applications, without ever thinking about where they resided on the disk.

Most people won’t even realize that Libraries are virtual folders, let alone discover that you can create your own virtual folders with their contained shared searches. But if you do want to harness some of the most awesome and unique technology in Windows 7, this is the place to start. After all, that sort of electronic housekeeping is what a computer is good at, right?

In order to truly understand virtual folders, it’s important to first understand the thinking that went into this feature. And since this is a feature that was originally scheduled for the ever-delayed Windows Vista, it might also be helpful to know about Microsoft’s original plans for the Vista shell and virtual folders and compare the plans with what eventually happened.

Understanding Virtual Folders On Windows  Windows Future Storage (WinFS)

This original vision required a healthy dose of technology. The core piece was a new storage engine called WinFS (short for Windows Future Storage), which would have combined the best features of the NTFS file system with the relational database functionality of Microsoft’s SQL Server products. Microsoft has been working on WinFS, and now its successors, for about a decade.

Microsoft began developing it separately from the OS. Then, it completely cancelled plans to ship WinFS as a separate product. Instead, WinFS technologies would be integrated into other Windows versions including Windows 7, and Windows 8 and other Microsoft products.

Instead of special shell folders like Documents, users would access virtual folders such as All Documents, which would aggregate all of the documents on the hard drive and present them in a single location.

Other special shell folders, like Pictures and Music, would also be replaced by virtual folders.

It is then felt that the transition from normal folders to virtual folders to be extremely confusing. In retrospect, this should have been obvious. After all, a virtual folder that displays all of your documents is kind of useful when you’re looking for something, but where do you save a new file? Is a virtual folder even a real place for applications that want to save data? And do users need to understand the differences between normal folders and virtual folders? Why are there both kinds of folders?

With the problems mounting, Microsoft stepped back from the virtual folder scheme, just as it had when it stripped out WinFS previously. Therefore, the file system that appeared in Windows Vista was actually quite similar to that in Windows XP and previous Windows versions.

That is, the file system still used drive letters, normal folders, and special shell folders like (My) Documents and (My) Pictures. If you were familiar with any prior Windows version, you would feel right at home in the Vista shell. Likewise, if you found the Windows file system to be a bit, well, lackluster, all the same complaints still applied in Vista as well.

When Windows 7 arrived, Microsoft hasn’t relegated drive letters and physical folders to the dustbin of history. But they have implemented one of the early Vista file system plans in Windows 7: now, traditional special shell folders (but not the entire file system) have been replaced by virtual folders. This time around they’re called Libraries.

Also the capability to create your own virtual folders is also available in Windows 7, just as it was in Vista. And as in Vista, this feature is really well hidden. That makes it a power-user feature and thus, for new learners, inherently interesting.

The thing to understand is that while your typical special shell folders, My Documents, My Music, My Pictures, and My Videos, still exist in Windows 7, inside of your user folder, you will rarely need or want to access them directly. Instead, you will work with the content types stored in these folders via Windows 7’s new Libraries.

Read More

Monday, October 24, 2011

bench3

Choosing Between Single Click and Double Click To Open Files And Folders In Windows

You can choose how icons on the Windows desktop and in Explorer windows behave as you could in Windows Me, 98 Second Edition, and XP. Your choices are

• Single-click (Web style) To select the icon without running or opening it, move your mouse pointer to the icon without clicking, and wait a second. To run or open the icon, click it once. Icon labels appear underlined (like web page links).

• Double-click (Classic Windows style) To select the icon, click it once. To run or open the icon, click it twice. Icon labels are not underlined.

Follow these steps to choose between single-click and double-click:

1. Choose Start | Control Panel. Click the (Appearance And Personalization category For Windows Vista) or Folder Options In Windows 7.

For Windows XP, Click On My Computer – Tools – Folder Options.

2. Click the Folder Options icon. You see the Folder Options dialog box, shown in Figure below. If the General tab isn’t selected, click it.

Choosing Between Single Click and Double Click To Open Files And Folders In Windows

Whether you use single-click or double-click, you can right-click icons to see a shortcut menu of commands you can perform on the icon

The General tab of the Folder Options dialog box, where you can specify how Windows
icons work.

3. In the Click Items As Follows area, click either the Single-click or Double-click radio button. If you choose Single-click, choose whether you want icon titles to be underlined all the time (Consistent With My Browser) or only when your mouse pointer is on the icon (Only When I Point At Them).

4. Click OK.

That’s it. This is how you can Choosing Between Single Click and Double Click To Open Files And Folders In Windows

Read More