ismp service management

7
7/21/2014 ISMP Service Management https://e2esm.intel.com/kb_view.do?sysparm_article=KB000221197 1/7 Design Hosting > Design Data Hosting > EC - How to clean your home directory to avoid quota related issues (VNC session crash, Xlib errors, copy/paste, etc.) Article: KB000221197 Published: 2014-07-02 Last modified: 2014-07-02 EC - How to clean your home directory to avoid quota related issues (VNC session crash, Xlib errors, copy/paste, etc.) Description: This article describes how to find the largest files in your home directory and how to clean up by removing/moving data. This is necessary to: § Address the EClogin error "E: (ec-login) write 8K file in $HOME failed; check for disk full or over quota?" § Address a DSM "home directory quota threshold exceeded" e-mail notification § Prevent issues in your work environment, especially those that could affect your VNC session (VNC session crash, Xlib errors, copy/paste issues, etc.) Symptom: You are experiencing at least one of the following situations: · Every time you log into your UNIX session, you get an EClogin error "E: (ec-login) write 8K file in $HOME failed; check for disk full or over quota?" · You received a DSM e-mail notification "home directory quota threshold exceeded" · Your VNC session crashed, you have Xlib errors when trying to open a tool with a GUI or you have copy/paste issues Time to Complete: 10 Rule/Caution: As per Intel Corporate Security requirements, project/shared data should be stored in a project work area, not in UNIX home directories. In case you need a work/project area or if you are not sure if you already have one, get in contact with Article#: KB000221197 Updated on: 2014- 07- 02 Note: Didn't find what you were looking for? Click here to return to IT.intel.com to view more articles or

Upload: mallikarjuna-reddy

Post on 19-Jan-2016

88 views

Category:

Documents


9 download

TRANSCRIPT

Page 1: ISMP Service Management

7/21/2014 ISMP Service Management

https://e2esm.intel.com/kb_view.do?sysparm_article=KB000221197 1/7

Design Hosting > Design Data Hosting > EC - How to clean your home directory to avoid quota related issues (VNC session crash, Xlib errors,copy/paste, etc.)

Article: KB000221197 Published: 2014-07-02 Last modified: 2014-07-02

EC - How to clean your home directory to avoid quota related issues (VNC session crash, Xlib errors,copy/paste, etc.)

Description:

This article describes how to find the largest files in your home directory and how to clean up by removing/moving data.This is necessary to:

§ Address the EClogin error "E: (ec-login) write 8K file in $HOME failed; check for disk full or over quota?"

§ Address a DSM "home directory quota threshold exceeded" e-mail notification

§ Prevent issues in your work environment, especially those that could affect your VNC session (VNC session crash, Xliberrors, copy/paste issues, etc.)

Symptom:

You are experiencing at least one of the following situations:

· Every time you log into your UNIX session, you get an EClogin error "E: (ec-login) write 8K file in $HOME failed;check for disk full or over quota?"

· You received a DSM e-mail notification "home directory quota threshold exceeded"

· Your VNC session crashed, you have Xlib errors when trying to open a tool with a GUI or you have copy/paste issues

Time to Complete: 10

Rule/Caution:

As per Intel Corporate Security requirements, project/shared data should be stored in a project work area, not in UNIXhome directories. In case you need a work/project area or if you are not sure if you already have one, get in contact with

Article#:

KB000221197

Updated

on: 2014-

07-02

Note: Didn't

find what

you were

looking for?

Click here to

return to

IT.intel.com

to view more

articles or

Page 2: ISMP Service Management

7/21/2014 ISMP Service Management

https://e2esm.intel.com/kb_view.do?sysparm_article=KB000221197 2/7

the RA (Resource Allocator) or DA (Design Automation) engineer for your group.

If you are subject to a Legal Event Hold Notice (LEHN), you must not delete, discard or destroy any data or documents that

are relevant to the identified legal matter. Failure to preserve these materials is against Intel legal policy and can lead to

disciplinary action, including termination. To determine if you are subject to a LEHN, please contact IT eDiscovery Request

([email protected]).

Solution:

1. Log in to a UNIX workstation at the site where you need to clean your home directory. A list of general login serversis available here: https://e2esm.intel.com/kb_view.do?sysparm_article=KB000211569

2. Use the following command to help identify which directories and files are taking more space in your homedirectory:

/usr/intel/bin/ncdu ~

Note: the ~/.snapshot directory is Read Only and not considered for the home directory quota.

ncdu is an utility that helps you to quickly view the disk usage statistics of a system. Once you execute thecommand, the output will look like this:

contact the

TAC

Page 3: ISMP Service Management

7/21/2014 ISMP Service Management

https://e2esm.intel.com/kb_view.do?sysparm_article=KB000221197 3/7

To get the list of available hot keys, press ?

Page 4: ISMP Service Management

7/21/2014 ISMP Service Management

https://e2esm.intel.com/kb_view.do?sysparm_article=KB000221197 4/7

You can get additional information about a selected directory/file by pressing i

Page 5: ISMP Service Management

7/21/2014 ISMP Service Management

https://e2esm.intel.com/kb_view.do?sysparm_article=KB000221197 5/7

If you want to delete a selected directory/file, press d

Page 6: ISMP Service Management

7/21/2014 ISMP Service Management

https://e2esm.intel.com/kb_view.do?sysparm_article=KB000221197 6/7

If instead of deleting a file, you want to move it to a work area, you can use the command mv or the command rsync. If youwant to move the file to your Windows laptop, you can do it via one of the SAMBA servers (\\<samba_server>\<your_idsid>). The list of SAMBA servers is available here https://e2esm.intel.com/kb_view.do?sysparm_article=KB000211569

Warning: Do NOT delete the .vnc directory or the .ssh2 directories. In the .vnc, only the *.log files can be removed safely(if you remove the *.pid file for an active session, you will lose the session).

In case you want to see quickly how much space your home dir is taking (without having to use ncdu), you can use the

command:

cd ~; gdu -hs --exclude .snapshot

If you want to find what are the biggest files in your home directory (the top 10), issue the command:

Page 7: ISMP Service Management

7/21/2014 ISMP Service Management

https://e2esm.intel.com/kb_view.do?sysparm_article=KB000221197 7/7

find ~ -type f -printf "%k %p\n" | sort -rn | head -10

Attachments:

ncdu-1.png

ncdu-2.png

ncdu-3.png

ncdu-3.png

ncdu-4.png

Feedback on this article:

Permalink: https://e2esm.intel.com/kb_view .do?sysparm_article=KB000221197

Was this helpful?

Yes No

Not rated