create new tag
view all tags

How to retrieve your corrupted or deleted /t3home and /work files

Every user can retrieve from snapshots corrupted or deleted files from /t3home or /work . Choose a snapshot dir and copy back either to /t3home/$USER (or /work/$USER) what you need by cp command.

/t3home example:

$ cd /t3home/$USER/.snapshot
$ ls 
daily.2019-02-26_0010  daily.2019-02-27_0010  monthly.2019-02-01_0010  weekly.2019-02-24_001

/work snapshot location example

Since October 2019 there is an option for user to create a snapshot of workspace. Please contact administrators for more information.

$ cd /work/$USER/.zfs/snapshot

[martinelli_f@t3ui01 ~]$  cd /work/$USER/.zfs/snapshot

[martinelli_f@t3ui01 snapshot]$ ls -l
dr-xr-xr-x 1 root root 0 Dec 10 18:44 zfssnap-day-20161207-011142 <-- Max 2 past days
dr-xr-xr-x 1 root root 0 Dec 10 18:44 zfssnap-day-20161208-014735

In a case of /work please be aware regrding deleted files that are still referenced in snapshots. In that case deleted files are saved in snapshot. And snapshot grows in space correspondingly. This affects your /work space quota while snapshot is a PART OF QUOTA. Till snapshot itself is deleted you won't not get a free space . Over quota running often means that you're frequently adding/removing big files in your /work . Instead please stage data to UI/WN /scratch or the /pnfs areas for that purpose!

Edit | Attach | Watch | Print version | History: r17 < r16 < r15 < r14 < r13 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r17 - 2020-02-20 - NinaLoktionova
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback