| /l3/users/eb/2009/linux1/user :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 | 
| 
 | 
| #fdisk -l Disk /dev/sda: 320.0 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xc2e21a3e Device Boot Start End Blocks Id System /dev/sda1 1 10000 80324968+ 83 Linux /dev/sda2 10001 20000 80325000 83 Linux /dev/sda4 20001 22432 19535040 83 Linux Disk /dev/sdb: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders ... Disk /dev/dm-15: 2147 MB, 2147483648 bytes 255 heads, 63 sectors/track, 261 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/dm-15 doesn't contain a valid partition table Disk /dev/dm-16: 1073 MB, 1073741824 bytes 255 heads, 63 sectors/track, 130 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/dm-16 doesn't contain a valid partition table | 
| #lvremove /dev/TURBO/jabber Do you really want to remove active logical volume "jabber"? [y/n]: y Logical volume "jabber" successfully removed | 
| #lvremove /dev/TURBO/jabber One or more specified logical volume(s) not found. | 
| #lvremove /dev/TURBO/proxy Do you really want to remove active logical volume "proxy"? [y/n]: y Logical volume "proxy" successfully removed | 
| #lvremove /dev/TURBO/apach One or more specified logical volume(s) not found. | 
| #lvdisplay LV Name /dev/TURBO/v3 VG Name TURBO LV UUID n7go5n-HOzD-X78Q-va1U-i1EW-vEpR-jSYbc4 LV Write Access read/write LV Status available # open 0 LV Size 1,00 GB Current LE 256 Segments 1 Allocation inherit ... LV Write Access read/write LV Status available # open 0 LV Size 5,00 GB Current LE 1280 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:13 | 
| #lvremove /dev/TURBO/sendmail Do you really want to remove active logical volume "sendmail"? [y/n]: y Logical volume "sendmail" successfully removed | 
| #lvremove /dev/TURBO/samba Do you really want to remove active logical volume "samba"? [y/n]: y Logical volume "samba" successfully removed | 
| #lvdisplay LV Name /dev/TURBO/v1 VG Name TURBO LV UUID ATUhVi-4jio-NCXl-mkgX-J13g-AAip-Bh0UNU LV Write Access read/write LV Status available # open 0 LV Size 1,00 GB Current LE 256 Segments 1 Allocation inherit ... LV Write Access read/write LV Status available # open 0 LV Size 1,00 GB Current LE 256 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:11 | 
| #lvremove /dev/TURBO/v10 Do you really want to remove active logical volume "v10"? [y/n]: y Logical volume "v10" successfully removed | 
| #lvdisplay LV Name /dev/TURBO/vol2 VG Name TURBO LV UUID UNR4DW-BhVP-yM7l-eXuF-Vqd4-WAht-f0YdRw LV Write Access read/write LV Status available # open 0 LV Size 4,00 GB Current LE 1024 Segments 1 Allocation inherit ... LV Write Access read/write LV Status available # open 0 LV Size 1,00 GB Current LE 256 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:10 | 
| #lvremove /dev/TURBO/v9 Do you really want to remove active logical volume "v9"? [y/n]: y Logical volume "v9" successfully removed | 
| #lvdisplay LV Name /dev/TURBO/vol1 VG Name TURBO LV UUID lXhmZa-tvCN-SM5n-5het-O4Px-L3Vu-6wCnWB LV Write Access read/write LV Status available # open 0 LV Size 4,00 GB Current LE 1024 Segments 1 Allocation inherit ... LV Write Access read/write LV Status available # open 0 LV Size 1,00 GB Current LE 256 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:9 | 
| #lvremove /dev/TURBO/v8 Do you really want to remove active logical volume "v8"? [y/n]: y Logical volume "v8" successfully removed | 
| #lvdisplay --- Logical volume --- LV Name /dev/TURBO/vol1 VG Name TURBO LV UUID lXhmZa-tvCN-SM5n-5het-O4Px-L3Vu-6wCnWB LV Write Access read/write LV Status available # open 0 LV Size 4,00 GB Current LE 1024 Segments 1 ... LV Write Access read/write LV Status available # open 0 LV Size 1,00 GB Current LE 256 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:8 | 
| #lvremove /dev/TURBO/v7 Do you really want to remove active logical volume "v7"? [y/n]: y Logical volume "v7" successfully removed | 
| #lvdisplay --- Logical volume --- LV Name /dev/TURBO/vol1 VG Name TURBO LV UUID lXhmZa-tvCN-SM5n-5het-O4Px-L3Vu-6wCnWB LV Write Access read/write LV Status available # open 0 LV Size 4,00 GB Current LE 1024 Segments 1 ... LV Write Access read/write LV Status available # open 0 LV Size 1,00 GB Current LE 256 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:7 | 
| #lvremove /dev/TURBO/v6 Do you really want to remove active logical volume "v6"? [y/n]: y Logical volume "v6" successfully removed | 
| #lvremove /dev/TURBO/v6
   One or more specified logical volume(s) not found. | 
| #lvdisplay --- Logical volume --- LV Name /dev/TURBO/vol1 VG Name TURBO LV UUID lXhmZa-tvCN-SM5n-5het-O4Px-L3Vu-6wCnWB LV Write Access read/write LV Status available # open 0 LV Size 4,00 GB Current LE 1024 Segments 1 ... LV Write Access read/write LV Status available # open 0 LV Size 1,00 GB Current LE 256 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:6 | 
| #lvremove /dev/TURBO/v5 Do you really want to remove active logical volume "v5"? [y/n]: y Logical volume "v5" successfully removed | 
| #lvremove /dev/TURBO/v4 Do you really want to remove active logical volume "v4"? [y/n]: y Logical volume "v4" successfully removed | 
| #lvdisplay --- Logical volume --- LV Name /dev/TURBO/vol1 VG Name TURBO LV UUID lXhmZa-tvCN-SM5n-5het-O4Px-L3Vu-6wCnWB LV Write Access read/write LV Status available # open 0 LV Size 4,00 GB Current LE 1024 Segments 1 ... LV Write Access read/write LV Status available # open 0 LV Size 1,00 GB Current LE 256 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:4 | 
| #lvremove /dev/TURBO/v3 Do you really want to remove active logical volume "v3"? [y/n]: y Logical volume "v3" successfully removed | 
| #lvdisplay --- Logical volume --- LV Name /dev/TURBO/vol1 VG Name TURBO LV UUID lXhmZa-tvCN-SM5n-5het-O4Px-L3Vu-6wCnWB LV Write Access read/write LV Status available # open 0 LV Size 4,00 GB Current LE 1024 Segments 1 ... LV Write Access read/write LV Status available # open 0 LV Size 1,00 GB Current LE 256 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:3 | 
| #lvremove /dev/TURBO/v2 Do you really want to remove active logical volume "v2"? [y/n]: y Logical volume "v2" successfully removed | 
| #lvdisplay --- Logical volume --- LV Name /dev/TURBO/vol1 VG Name TURBO LV UUID lXhmZa-tvCN-SM5n-5het-O4Px-L3Vu-6wCnWB LV Write Access read/write LV Status available # open 0 LV Size 4,00 GB Current LE 1024 Segments 1 ... LV Write Access read/write LV Status available # open 0 LV Size 1,00 GB Current LE 256 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:2 | 
| #lvremove /dev/TURBO/v1 Do you really want to remove active logical volume "v1"? [y/n]: y Logical volume "v1" successfully removed | 
| #lvdisplay --- Logical volume --- LV Name /dev/TURBO/vol1 VG Name TURBO LV UUID lXhmZa-tvCN-SM5n-5het-O4Px-L3Vu-6wCnWB LV Write Access read/write LV Status available # open 0 LV Size 4,00 GB Current LE 1024 Segments 1 ... LV Write Access read/write LV Status available # open 0 LV Size 4,00 GB Current LE 1024 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:1 | 
| #lvremove /dev/TURBO/vol2 Do you really want to remove active logical volume "vol2"? [y/n]: y Logical volume "vol2" successfully removed | 
| #lvdisplay --- Logical volume --- LV Name /dev/TURBO/vol1 VG Name TURBO LV UUID lXhmZa-tvCN-SM5n-5het-O4Px-L3Vu-6wCnWB LV Write Access read/write LV Status available # open 0 LV Size 4,00 GB Current LE 1024 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:0 | 
| #lvremove /dev/TURBO/vol1 Do you really want to remove active logical volume "vol1"? [y/n]: y Logical volume "vol1" successfully removed | 
| #lvdisplay | 
| #vgremove
   Please enter one or more volume group paths Run `vgremove --help' for more information. | 
| #vgdisplay --- Volume group --- VG Name TURBO System ID Format lvm2 Metadata Areas 3 Metadata Sequence No 47 VG Access read/write VG Status resizable MAX LV 0 Cur LV 0 Open LV 0 Max PV 0 Cur PV 3 Act PV 3 VG Size 171,83 GB PE Size 4,00 MB Total PE 43989 Alloc PE / Size 0 / 0 Free PE / Size 43989 / 171,83 GB VG UUID 0zNPvS-925T-J3vc-Yfsx-W6Db-kHYy-63NdeW | 
| #vgremove /dev/TURBO Volume group "TURBO" successfully removed | 
| #pgremove /dev/TURBO
   bash: pgremove: команда не найдена | 
| #pvdisplay "/dev/sda1" is a new physical volume of "76,60 GB" --- NEW Physical volume --- PV Name /dev/sda1 VG Name PV Size 76,60 GB Allocatable NO PE Size (KByte) 0 Total PE 0 Free PE 0 Allocated PE 0 ... --- NEW Physical volume --- PV Name /dev/sda4 VG Name PV Size 18,63 GB Allocatable NO PE Size (KByte) 0 Total PE 0 Free PE 0 Allocated PE 0 PV UUID Xk5Wu8-vY9o-Wo7u-MbD6-2jXu-2P9T-Ez0yaU | 
| #pvremove /dev/sda4 Labels on physical volume "/dev/sda4" successfully wiped | 
| #pvremove /dev/sda2 Labels on physical volume "/dev/sda2" successfully wiped | 
| #pvremove /dev/sda1 Labels on physical volume "/dev/sda1" successfully wiped | 
| #fdisk -l Disk /dev/sda: 320.0 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xc2e21a3e Device Boot Start End Blocks Id System /dev/sda1 1 10000 80324968+ 83 Linux /dev/sda2 10001 20000 80325000 83 Linux /dev/sda4 20001 22432 19535040 83 Linux Disk /dev/sdb: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xb7927762 Device Boot Start End Blocks Id System /dev/sdb1 1 9727 78132096 83 Linux /dev/sdb2 9728 30401 166063905 5 Extended | 
| #fdisk -l Disk /dev/sda: 320.0 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xc2e21a3e Device Boot Start End Blocks Id System /dev/sda1 1 10000 80324968+ 83 Linux /dev/sda2 10001 20000 80325000 83 Linux /dev/sda4 20001 22432 19535040 83 Linux Disk /dev/sdb: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xb7927762 Device Boot Start End Blocks Id System /dev/sdb1 1 9727 78132096 83 Linux /dev/sdb2 9728 30401 166063905 5 Extended | 
| #fdisk
   Usage: fdisk [-l] [-b SSZ] [-u] device E.g.: fdisk /dev/hda (for the first IDE disk) or: fdisk /dev/sdc (for the third SCSI disk) or: fdisk /dev/eda (for the first PS/2 ESDI drive) or: fdisk /dev/rd/c0d0 or: fdisk /dev/ida/c0d0 (for RAID devices) ... | 
| #fdisk  /dev/sdb The number of cylinders for this disk is set to 30401. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): q | 
| #fdisk  /dev/sda The number of cylinders for this disk is set to 38913. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): l 0 Empty 1e Hidden W95 FAT1 80 Old Minix be Solaris boot 1 FAT12 24 NEC DOS 81 Minix / old Lin bf Solaris 2 XENIX root 39 Plan 9 82 Linux swap / So c1 DRDOS/sec (FAT- ... Command (m for help): p Disk /dev/sda: 320.0 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xc2e21a3e Device Boot Start End Blocks Id System Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. | 
| #fdisk -l Disk /dev/sda: 320.0 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xc2e21a3e Device Boot Start End Blocks Id System Disk /dev/sdb: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xb7927762 Device Boot Start End Blocks Id System /dev/sdb1 1 9727 78132096 83 Linux /dev/sdb2 9728 30401 166063905 5 Extended | 
| #fdisk /dev/adb
   Unable to open /dev/adb | 
| #fdisk /dev/sdb The number of cylinders for this disk is set to 30401. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): c DOS Compatibility flag is not set Command (m for help): m Command action ... No free sectors available Command (m for help): p Disk /dev/sdb: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xb7927762 Device Boot Start End Blocks Id System /dev/sdb1 1 9727 78132096 83 Linux /dev/sdb2 9728 30401 166063905 5 Extended Command (m for help): q | 
| #fdisk /dev/sda The number of cylinders for this disk is set to 38913. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): n Command action e extended p primary partition (1-4) ... p primary partition (1-4) e Partition number (1-4): 2 First cylinder (9728-38913, default 9728): Using default value 9728 Last cylinder or +size or +sizeM or +sizeK (9728-38913, default 38913): 30401 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. | 
| #fdisk -l Disk /dev/sda: 320.0 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xc2e21a3e Device Boot Start End Blocks Id System /dev/sda1 1 9727 78132096 83 Linux /dev/sda2 9728 30401 166063905 5 Extended Disk /dev/sdb: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xb7927762 Device Boot Start End Blocks Id System /dev/sdb1 1 9727 78132096 83 Linux /dev/sdb2 9728 30401 166063905 5 Extended | 
| #mkfs.xtt3 /dev/sda1
   bash: mkfs.xtt3: команда не найдена | 
| #mkfs.ext3 /dev/sda1 
mke2fs 1.41.5 (23-Apr-2009)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
4890624 inodes, 19533024 blocks
976651 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
597 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, 1605632, 2654208,
        4096000, 7962624, 11239424
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 28 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
 | 
| #mdadm
   bash: mdadm: команда не найдена | 
| #ssh root@10.0.35.100 root@10.0.35.100's password: Linux linux0 2.6.18-6-xen-686 #1 SMP Sun Feb 10 22:43:13 UTC 2008 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: Mon Jun 1 10:17:41 2009 from linux7.unix.nt l3-agent is already running: pid=1851; pidfile=/root/.lilalo/l3-agent.pid | 
| #apt-get install mdadm â â âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ ÐÑÐ±Ð¾Ñ Ñанее не вÑбÑанного пакеÑа mdadm. (ЧÑение Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ ... на даннÑй Ð¼Ð¾Ð¼ÐµÐ½Ñ ÑÑÑановлено 54226 Ñайлов и каÑалогов.) РаÑпаковÑваеÑÑÑ Ð¿Ð°ÐºÐµÑ mdadm (из Ñайла .../mdadm_2.6.9-3_i386.deb)... ÐбÑабаÑÑваÑÑÑÑ ÑÑиггеÑÑ Ð´Ð»Ñ man-db ... ÐаÑÑÑаиваеÑÑÑ Ð¿Ð°ÐºÐµÑ mdadm (2.6.9-3) ... Generating array device nodes... done. Generating mdadm.conf... done. update-initramfs: deferring update (trigger activated) Starting MD monitoring service: mdadm --monitor. Assembling MD arrays...done (no arrays found in config file or automatically). ÐбÑабаÑÑваÑÑÑÑ ÑÑиггеÑÑ Ð´Ð»Ñ initramfs-tools ... update-initramfs: Generating /boot/initrd.img-2.6.29-2-686 dpkg: пÑедÑпÑеждение: obsolete option '--print-installation-architecture', please use '--print-architecture' instead. dpkg: пÑедÑпÑеждение: obsolete option '--print-installation-architecture', please use '--print-architecture' instead. W: mdadm: /etc/mdadm/mdadm.conf defines no arrays. W: mdadm: no arrays defined in configuration file. | 
| #fdisk /dev/sdb
   The number of cylinders for this disk is set to 30401. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): n Command action l logical (5 or over) p primary partition (1-4) ... Using default value 20001 Last cylinder or +size or +sizeM or +sizeK (20001-30401, default 30401): Using default value 30401 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 16: Устройство или ресурс занято. The kernel still uses the old table. The new table will be used at the next reboot. Syncing disks. | 
| #fdisk -l Disk /dev/sda: 320.0 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xc2e21a3e Device Boot Start End Blocks Id System /dev/sda1 1 9727 78132096 83 Linux /dev/sda2 9728 30401 166063905 5 Extended Disk /dev/sdb: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xb7927762 Device Boot Start End Blocks Id System /dev/sdb1 1 9727 78132096 83 Linux /dev/sdb2 9728 30401 166063905 5 Extended /dev/sdb5 9728 20000 82517841 83 Linux /dev/sdb6 20001 30401 83546001 83 Linux | 
| #fdisk /dev/sda The number of cylinders for this disk is set to 38913. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): n Command action l logical (5 or over) p primary partition (1-4) ... p primary partition (1-4) l First cylinder (20001-30401, default 20001): Using default value 20001 Last cylinder or +size or +sizeM or +sizeK (20001-30401, default 30401): Using default value 30401 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. | 
| #fdisk -l Disk /dev/sda: 320.0 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xc2e21a3e Device Boot Start End Blocks Id System /dev/sda1 1 9727 78132096 83 Linux /dev/sda2 9728 30401 166063905 5 Extended /dev/sda5 9728 20000 82517841 83 Linux /dev/sda6 20001 30401 83546001 83 Linux Disk /dev/sdb: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xb7927762 Device Boot Start End Blocks Id System /dev/sdb1 1 9727 78132096 83 Linux /dev/sdb2 9728 30401 166063905 5 Extended /dev/sdb5 9728 20000 82517841 83 Linux /dev/sdb6 20001 30401 83546001 83 Linux | 
| #mkfs.ext3 /dev/sdb5
   mke2fs 1.41.5 (23-Apr-2009) Could not stat /dev/sdb5 --- Нет такого файла или каталога The device apparently does not exist; did you specify it correctly? | 
| #mkfs.ext3 /dev/sdb6
   mke2fs 1.41.5 (23-Apr-2009) Could not stat /dev/sdb6 --- Нет такого файла или каталога The device apparently does not exist; did you specify it correctly? | 
| #dd if=/dev/zero of=/disk1.img count=1 seek=200 bs=1024k 1+0 записей считано 1+0 записей написано скопировано 1048576 байт (1,0 MB), 0,00306692 c, 342 MB/c | 
| #df -h . Файловая система Разм Исп Дост Исп% смонтирована на rootfs 74G 1,8G 68G 3% / | 
| #ls -l /disk1.img -rw-r--r-- 1 root root 210763776 Июн 1 10:14 /disk1.img | 
| #dd if=/dev/zero of=/disk2.img count=1 seek=200 bs=1024k 1+0 записей считано 1+0 записей написано скопировано 1048576 байт (1,0 MB), 0,00284638 c, 368 MB/c | 
| #losetup /dev/loop1 /disk1.img
   /dev/loop1: Нет такого файла или каталога | 
| #modprobe loop | 
| #losetup /dev/loop1 /disk1.img | 
| #losetup /dev/loop2 /disk2.img | 
| #cat /etc/modules # /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. # Parameters can be specified after the module name. | 
| #fdisk -lu /devsda | 
| #fdisk -lu /dev/sda Disk /dev/sda: 320.0 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors Units = sectors of 1 * 512 = 512 bytes Disk identifier: 0xc2e21a3e Device Boot Start End Blocks Id System /dev/sda1 63 156264254 78132096 83 Linux /dev/sda2 156264255 488392064 166063905 5 Extended /dev/sda5 156264318 321299999 82517841 83 Linux /dev/sda6 321300063 488392064 83546001 83 Linux | 
| #fdisk -lu /dev/sdb Disk /dev/sdb: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors Units = sectors of 1 * 512 = 512 bytes Disk identifier: 0xb7927762 Device Boot Start End Blocks Id System /dev/sdb1 63 156264254 78132096 83 Linux /dev/sdb2 156264255 488392064 166063905 5 Extended /dev/sdb5 156264318 321299999 82517841 83 Linux /dev/sdb6 321300063 488392064 83546001 83 Linux | 
| #apt-get install mkisofs Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово Будут установлены следующие дополнительные пакеты: genisoimage Предлагаемые пакеты: wodim cdrkit-doc НОВЫЕ пакеты, которые будут установлены: genisoimage mkisofs обновлено 0, установлено 2 новых пакетов, для удаления отмечено 0 пакетов, и 25 пакетов не обновлено. ... Получено:2 http://10.0.35.1 sid/main mkisofs 9:1.1.9-1 [994B] Получено 577kБ за 0s (10,9MБ/c) Выбор ранее не выбранного пакета genisoimage. (Чтение базы данных ... на данный момент установлено 54281 файлов и каталогов.) Распаковывается пакет genisoimage (из файла .../genisoimage_9%3a1.1.9-1_i386.deb)... Выбор ранее не выбранного пакета mkisofs. Распаковывается пакет mkisofs (из файла .../mkisofs_9%3a1.1.9-1_all.deb)... Обрабатываются триггеры для man-db ... Настраивается пакет genisoimage (9:1.1.9-1) ... Настраивается пакет mkisofs (9:1.1.9-1) ... | 
| #apt-get install dvd+rw-tools Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово Предлагаемые пакеты: cdrskin НОВЫЕ пакеты, которые будут установлены: dvd+rw-tools обновлено 0, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 25 пакетов не обновлено. Необходимо скачать 162kБ архивов. После данной операции, объём занятого дискового пространства возрастёт на 459kB. Получено:1 http://10.0.35.1 sid/main dvd+rw-tools 7.1-4 [162kB] Получено 162kБ за 0s (9662kБ/c) Выбор ранее не выбранного пакета dvd+rw-tools. (Чтение базы данных ... на данный момент установлено 54308 файлов и каталогов.) Распаковывается пакет dvd+rw-tools (из файла .../dvd+rw-tools_7.1-4_i386.deb)... Обрабатываются триггеры для man-db ... Настраивается пакет dvd+rw-tools (7.1-4) ... | 
| #ls -l /dev/loop1 brw-rw---- 1 root disk 7, 1 Июн 1 10:16 /dev/loop1 | 
| #ls -l /dev/loop2 brw-rw---- 1 root disk 7, 2 Июн 1 10:16 /dev/loop2 | 
| #mdadm
   Usage: mdadm --help for help | 
| #ndadm -C --help | less | 
| #ndadm -c --help | less | 
| #mdadm -c --help | less | 
| #mdadm /dev/md0 -C -l 1 -n 2 /dev/loop2 /dev/loop1 mdadm: array /dev/md0 started. | 
| #cat /proc/mdstat 
Personalities : [raid1]
md0 : active raid1 loop1[1] loop2[0]
      205760 blocks [2/2] [UU]
unused devices: <none>
 | 
| #watch cat /proc/mdstat | 
| #history 434 vgcreate TURBO /dev/sda[12] 435 lvdisplay 436 pvdisplay 437 vgdisplay 438 lvcreate -l1024 -nvol1 /edv/TURBO 439 lvcreate -l1024 -nvol1 /dev/TURBO 440 lvcreate -L4G -nvol2 /dev/TURBO 441 lvdisplay 442 ls -l /dev/TURBO/ 443 ls -lL /dev/TURBO/ ... 573 mdadm 574 ndadm -C --help | less 575 ndadm -c --help | less 576 mdadm -c --help | less 577 mdadm /dev/md0 -C -l 1 -n 2 /dev/loop2 /dev/loop1 578 cat /proc/mdstat 579 watch cat /proc/mdstat 580 fdisk -l 581* 582 history | 
| #watch cat /proc/mdstat | 
| #Personalities : [raid1] 
/dev/md0:
        Version : 0.90
  Creation Time : Mon Jun  1 10:29:48 2009
     Raid Level : raid1
     Array Size : 205760 (200.97 MiB 210.70 MB)
  Used Dev Size : 205760 (200.97 MiB 210.70 MB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0
    Persistence : Superblock is persistent
    Update Time : Mon Jun  1 10:29:50 2009
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
           UUID : bee26209:19c9fcc8:e9ae21ce:cd8b297b (local to host linux1)
         Events : 0.4
    Number   Major   Minor   RaidDevice State
       0       7        2        0      active sync   /dev/loop2
       1       7        1        1      active sync   /dev/loop1
 | 
| #mkfs.ext3 /dev/sda5 
mke2fs 1.41.5 (23-Apr-2009)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
5160960 inodes, 20629460 blocks
1031473 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
630 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, 1605632, 2654208,
        4096000, 7962624, 11239424, 20480000
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 36 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
 | 
| #mkfs.ext3 /dev/sda6 
mke2fs 1.41.5 (23-Apr-2009)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
5226496 inodes, 20886500 blocks
1044325 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
638 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, 1605632, 2654208,
        4096000, 7962624, 11239424, 20480000
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 32 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
 | 
| #mkfs.ext3 /dev/sdb5 mke2fs 1.41.5 (23-Apr-2009) Could not stat /dev/sdb5 --- Нет такого файла или каталога The device apparently does not exist; did you specify it correctly? | 
| #dd if=/dev/zero of=/disk2.img count=1 seek=200 bs=1024k 1+0 записей считано 1+0 записей написано скопировано 1048576 байт (1,0 MB), 0,00278153 c, 377 MB/c | 
| #mdadm /dev/md0 -f /dev/loop1 mdadm: set /dev/loop1 faulty in /dev/md0 | 
| #watch cat /proc/mdstat | 
| #Personalities : [raid1] mdadm: hot removed /dev/loop1 | 
| #Personalities : [raid1] mdadm: re-added /dev/loop1 | 
| #Personalities : [raid1] 1+0 записей считано 1+0 записей написано скопировано 1048576 байт (1,0 MB), 0,00278431 c, 377 MB/c | 
| #mdadm /dev/md0 -f /dev/loop1 mdadm: set /dev/loop1 faulty in /dev/md0 | 
| #mdadm /dev/md0 -r /dev/loop1 mdadm: hot removed /dev/loop1 | 
# /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. # Parameters can be specified after the module name.
Personalities : [raid1]
md0 : active raid1 loop1[1] loop2[0]
      205760 blocks [2/2] [UU]
unused devices: <none>
| Время первой команды журнала | 09:31:50 2009- 6- 1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Время последней команды журнала | 10:53:06 2009- 6- 1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Процент команд с ненулевым кодом завершения, % | 8.91 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Процент синтаксически неверно набранных команд, % | 2.97 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Суммарное время работы с терминалом *, час | 1.35 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Количество командных строк в единицу времени, команда/мин | 1.24 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Частота использования команд | 
 | 
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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