/l3/users/kuzmenko/nt-scale-22-10-2010/linux4.unix.nt.unix.nt/user :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 |
|
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
![]() e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#e2fsck -f /dev/DATA/lv3
e2fsck 1.41.3 (12-Oct-2008) The filesystem size (according to the superblock) is 2621440 blocks The physical size of the device is 2097152 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes |
#df -h
Filesystem Size Used Avail Use% Mounted on /dev/sda2 19G 12G 6.3G 65% / tmpfs 1.5G 0 1.5G 0% /lib/init/rw udev 10M 760K 9.3M 8% /dev tmpfs 1.5G 0 1.5G 0% /dev/shm |
#lvs -a
LV VG Attr LSize Origin Snap% Move Log Copy% Convert lv1 DATA -wi-a- 5.00G lv2 DATA -wi-a- 4.00G lv3 DATA -wi-a- 8.00G |
#ls /dev/mapper/
control DATA-lv1 DATA-lv2 DATA-lv3 |
#in
![]() in infobrowser infotocap inkview installed_alternatives install-keymap instmodsh inetd infocmp init insmod install-info install-menu invest-chart info infokey inkscape install installkernel install-sgmlcatalog invoke-rc.d |
#top
![]() top - 09:41:08 up 8 min, 4 users, load average: 0.09, 0.08, 0.05 Tasks: 120 total, 1 running, 119 sleeping, 0 stopped, 0 zombie Cpu(s): 2.1%us, 0.7%sy, 0.1%ni, 95.2%id, 2.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 3099904k total, 392556k used, 2707348k free, 65300k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 4883720k total, 0k used, 4883720k free, 107108k cached 2900 root 20 0 358m 10m 6728 S 4 0.3 0:12.82 Xorg 1 root 20 0 2100 684 588 S 0 0.0 0:01.18 init 2 root 15 -5 0 0 0 S 0 0.0 0:00.00 kthreadd 3 root RT -5 0 0 0 S 0 0.0 0:00.00 migration/0 ... 657 root 15 -5 0 0 0 S 0 0.0 0:00.00 khubd 711 root 15 -5 0 0 0 S 0 0.0 0:00.00 ata/0 712 root 15 -5 0 0 0 S 0 0.0 0:00.00 ata/1 713 root 15 -5 0 0 0 S 0 0.0 0:00.00 ata_aux 849 root 15 -5 0 0 0 S 0 0.0 0:00.00 scsi_eh_0 850 root 15 -5 0 0 0 S 0 0.0 0:00.00 scsi_eh_1 851 root 15 -5 0 0 0 S 0 0.0 0:00.00 scsi_eh_2 852 root 15 -5 0 0 0 S 0 0.0 0:00.00 scsi_eh_3 1030 root 15 -5 0 0 0 S 0 0.0 0:00.00 kstriped 1036 root 15 -5 0 0 0 S 0 0.0 0:00.00 ksnapd |
$ssh root@192.168.15.10
root@192.168.15.10's password: Linux linux10 2.6.26-2-686 #1 SMP Tue Mar 9 17:35:51 UTC 2010 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Tue Mar 23 09:39:56 2010 from 192.168.15.3 l3-agent is already running: pid=2956; pidfile=/root/.lilalo/l3-agent.pid |
#screen -x
|
#vgdisplay
--- Volume group --- VG Name DATA System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 9 VG Access read/write VG Status resizable MAX LV 0 Cur LV 3 Open LV 0 Max PV 0 Cur PV 1 Act PV 1 VG Size 46.57 GB PE Size 4.00 MB Total PE 11923 Alloc PE / Size 4352 / 17.00 GB Free PE / Size 7571 / 29.57 GB VG UUID 2k1oCm-vElU-gDci-YcKx-hG0Z-Bjin-RxuYaQ |
#pvdisplay
--- Physical volume --- PV Name /dev/sda5 VG Name DATA PV Size 46.58 GB / not usable 960.50 KB Allocatable yes PE Size (KByte) 4096 Total PE 11923 Free PE 7571 Allocated PE 4352 PV UUID zGEZPv-01wY-38mq-3XuU-af6f-bbd4-nKrFJd |
#lvcreate -n lv4 L4G DATA
![]() Please specify either size or extents (not both) Run `lvcreate --help' for more information. |
#lvcreate -n lv4 -L 4G DATA
Logical volume "lv4" created |
#lvs -a
LV VG Attr LSize Origin Snap% Move Log Copy% Convert lv1 DATA -wi-a- 5.00G lv2 DATA -wi-a- 4.00G lv3 DATA -wi-a- 8.00G lv4 DATA -wi-a- 4.00G |
#e2label /dev/DATA/lv4
![]() e2label: Bad magic number in super-block while trying to open /dev/DATA/lv4 Couldn't find valid filesystem superblock. |
#mkfs.ext3 /dev/DATA/lv4
mke2fs 1.41.3 (12-Oct-2008) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 262144 inodes, 1048576 blocks 52428 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=1073741824 32 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736 Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 29 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. |
#e2label /dev/DATA/lv4 LV4
|
#e2label /dev/DATA/lv4
LV4 |
#mkdir /data/lv4
|
#mount LABEL=LV4 /data/lv4
|
#df -h
Filesystem Size Used Avail Use% Mounted on /dev/sda2 19G 12G 6.3G 65% / tmpfs 1.5G 0 1.5G 0% /lib/init/rw udev 10M 764K 9.3M 8% /dev tmpfs 1.5G 0 1.5G 0% /dev/shm /dev/dm-3 4.0G 137M 3.7G 4% /data/lv4 |
#cat /dev/
Display all 189 possibilities? (y or n) agpgart ppp tty17 tty60 block/ psaux tty18 tty61 bsg/ ptmx tty19 tty62 bus/ pts/ tty2 tty63 cdrom ram0 tty20 tty7 char/ ram1 tty21 tty8 console ram10 tty22 tty9 core ram11 tty23 ttyS0 cpu_dma_latency ram12 tty24 ttyS1 ... dm-1 ram2 tty28 urandom dm-2 ram3 tty29 usbdev1.1_ep00 dm-3 ram4 tty3 usbdev1.1_ep81 dri/ ram5 tty30 usbdev2.1_ep00 dvd ram6 tty31 usbdev2.1_ep81 fd/ ram7 tty32 usbdev3.1_ep00 fd0 ram8 tty33 usbdev3.1_ep81 full ram9 tty34 usbdev4.1_ep00 hda random tty35 usbdev4.1_ep81 hpet root tty36 usbdev5.1_ep00 |
#vgdisplay
--- Volume group --- VG Name DATA System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 10 VG Access read/write VG Status resizable MAX LV 0 Cur LV 4 Open LV 1 Max PV 0 Cur PV 1 Act PV 1 VG Size 46.57 GB PE Size 4.00 MB Total PE 11923 Alloc PE / Size 5376 / 21.00 GB Free PE / Size 6547 / 25.57 GB VG UUID 2k1oCm-vElU-gDci-YcKx-hG0Z-Bjin-RxuYaQ |
Display all 189 possibilities? (y or n) agpgart ppp tty17 tty60 block/ psaux tty18 tty61 bsg/ ptmx tty19 tty62 bus/ pts/ tty2 tty63 cdrom ram0 tty20 tty7 char/ ram1 tty21 tty8 console ram10 tty22 tty9 core ram11 tty23 ttyS0 cpu_dma_latency ram12 tty24 ttyS1 DATA/ ram13 tty25 ttyS2 disk/ ram14 tty26 ttyS3 dm-0 ram15 tty27 .udev/ dm-1 ram2 tty28 urandom dm-2 ram3 tty29 usbdev1.1_ep00 dm-3 ram4 tty3 usbdev1.1_ep81 dri/ ram5 tty30 usbdev2.1_ep00 dvd ram6 tty31 usbdev2.1_ep81 fd/ ram7 tty32 usbdev3.1_ep00 fd0 ram8 tty33 usbdev3.1_ep81 full ram9 tty34 usbdev4.1_ep00 hda random tty35 usbdev4.1_ep81 hpet root tty36 usbdev5.1_ep00
Время первой команды журнала | 16:39:44 2010- 3-22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 08:50:48 2010- 3-23 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 2.97 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.27 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 6.33 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008