/l3/users/vmk64646464/nt-scale/debian4.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 |
|
#apt-get update
В кэше http://10.0.35.1 squeeze Release.gpg Игн http://10.0.35.1/debian/ squeeze/main Translation-en В кэше http://security.debian.org squeeze/updates Release.gpg Игн http://security.debian.org/ squeeze/updates/contrib Translation-en Игн http://security.debian.org/ squeeze/updates/contrib Translation-ru Игн http://security.debian.org/ squeeze/updates/main Translation-en Игн http://security.debian.org/ squeeze/updates/main Translation-ru Игн http://security.debian.org/ squeeze/updates/non-free Translation-en Игн http://security.debian.org/ squeeze/updates/non-free Translation-ru В кэше http://security.debian.org squeeze/updates Release ... В кэше http://10.0.35.1 squeeze/main i386 Packages Игн http://10.0.35.1 squeeze-updates/main Sources В кэше http://10.0.35.1 squeeze-updates/contrib Sources В кэше http://10.0.35.1 squeeze-updates/non-free Sources Игн http://10.0.35.1 squeeze-updates/main i386 Packages В кэше http://10.0.35.1 squeeze-updates/contrib i386 Packages В кэше http://10.0.35.1 squeeze-updates/non-free i386 Packages В кэше http://10.0.35.1 squeeze-updates/main Sources В кэше http://10.0.35.1 squeeze-updates/main i386 Packages Чтение списков пакетов... Готово |
#ls /sys/block/sda/
![]() alignment_offset capability device events events_poll_msecs holders power range ro sda2 size stat trace bdi dev discard_alignment events_async ext_range inflight queue removable sda1 sda5 slaves subsystem uevent |
#ls /sys/block/sda/
alignment_offset capability device events events_poll_msecs holders power range ro sda2 size stat trace bdi dev discard_alignment events_async ext_range inflight queue removable sda1 sda5 slaves subsystem uevent |
#ls -l /dev/sdc
![]() ls: невозможно получить доступ к /dev/sdc: Нет такого файла или каталога |
#ls -l /dev/sdc
![]() ls: невозможно получить доступ к /dev/sdc: Нет такого файла или каталога |
#fdisk -l /dev/sdb
![]() Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xa9dda9dc Disk /dev/sdb doesn't contain a valid partition table |
#fdisk -l /dev/sdb
Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xa9dda9dc Disk /dev/sdb doesn't contain a valid partition table |
#fdisk -l /dev/sda
![]() Disk /dev/sda: 320.1 GB, 320072933376 bytes 254 heads, 63 sectors/track, 39066 cylinders Units = cylinders of 16002 * 512 = 8193024 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x84b0e27d Device Boot Start End Blocks Id System /dev/sda1 1 6103 48827392 83 Linux /dev/sda2 6103 6714 4881409 5 Extended /dev/sda5 6103 6714 4881408 82 Linux swap / Solaris |
#fdisk -l /dev/sda
Disk /dev/sda: 320.1 GB, 320072933376 bytes 254 heads, 63 sectors/track, 39066 cylinders Units = cylinders of 16002 * 512 = 8193024 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x84b0e27d Device Boot Start End Blocks Id System /dev/sda1 1 6103 48827392 83 Linux /dev/sda2 6103 6714 4881409 5 Extended /dev/sda5 6103 6714 4881408 82 Linux swap / Solaris |
#fdisk -l /dev/sda
![]() Disk /dev/sda: 320.1 GB, 320072933376 bytes 254 heads, 63 sectors/track, 39066 cylinders Units = cylinders of 16002 * 512 = 8193024 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x84b0e27d Device Boot Start End Blocks Id System /dev/sda1 1 6103 48827392 83 Linux /dev/sda2 6103 7324 9762019 5 Extended /dev/sda5 6103 6714 4881408 82 Linux swap / Solaris /dev/sda6 6714 7324 4880578+ 83 Linux |
#fdisk -l /dev/sda
Disk /dev/sda: 320.1 GB, 320072933376 bytes 254 heads, 63 sectors/track, 39066 cylinders Units = cylinders of 16002 * 512 = 8193024 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x84b0e27d Device Boot Start End Blocks Id System /dev/sda1 1 6103 48827392 83 Linux /dev/sda2 6103 7324 9762019 5 Extended /dev/sda5 6103 6714 4881408 82 Linux swap / Solaris /dev/sda6 6714 7324 4880578+ 83 Linux |
#ls -l /dev/sda*
![]() brw-rw---- 1 root disk 8, 0 Фев 20 16:02 /dev/sda brw-rw---- 1 root disk 8, 1 Фев 20 12:18 /dev/sda1 brw-rw---- 1 root disk 8, 2 Фев 20 12:18 /dev/sda2 brw-rw---- 1 root disk 8, 5 Фев 20 12:18 /dev/sda5 |
#ls -l /dev/sda*
brw-rw---- 1 root disk 8, 0 Фев 20 16:02 /dev/sda brw-rw---- 1 root disk 8, 1 Фев 20 12:18 /dev/sda1 brw-rw---- 1 root disk 8, 2 Фев 20 12:18 /dev/sda2 brw-rw---- 1 root disk 8, 5 Фев 20 12:18 /dev/sda5 |
#apt-get install partprobe
![]() Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово E: Не удалось найти пакет partprobe |
#apt-get install partprobe
![]() Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово E: Не удалось найти пакет partprobe |
#apt-get install parted
![]() Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово Предлагаемые пакеты: parted-doc НОВЫЕ пакеты, которые будут установлены: parted обновлено 0, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено. Необходимо скачать 155 kБ архивов. После данной операции, объём занятого дискового пространства возрастёт на 287 kB. Получено:1 http://10.0.35.1/debian/ squeeze/main parted i386 2.3-5 [155 kB] Получено 155 kБ за 0с (9.079 kБ/c) Выбор ранее не выбранного пакета parted. (Чтение базы данных ... на данный момент установлено 112417 файлов и каталогов.) Распаковывается пакет parted (из файла .../archives/parted_2.3-5_i386.deb)... Обрабатываются триггеры для man-db ... Настраивается пакет parted (2.3-5) ... |
#apt-get install parted
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово Предлагаемые пакеты: parted-doc НОВЫЕ пакеты, которые будут установлены: parted обновлено 0, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено. Необходимо скачать 155 kБ архивов. После данной операции, объём занятого дискового пространства возрастёт на 287 kB. Получено:1 http://10.0.35.1/debian/ squeeze/main parted i386 2.3-5 [155 kB] Получено 155 kБ за 0с (9.079 kБ/c) Выбор ранее не выбранного пакета parted. (Чтение базы данных ... на данный момент установлено 112417 файлов и каталогов.) Распаковывается пакет parted (из файла .../archives/parted_2.3-5_i386.deb)... Обрабатываются триггеры для man-db ... Настраивается пакет parted (2.3-5) ... |
#apt-get update
![]() В кэше http://10.0.35.1 squeeze Release.gpg Игн http://10.0.35.1/debian/ squeeze/main Translation-en В кэше http://10.0.35.1/debian/ squeeze/main Translation-ru В кэше http://10.0.35.1 squeeze-updates Release.gpg Игн http://10.0.35.1/debian/ squeeze-updates/contrib Translation-en Игн http://10.0.35.1/debian/ squeeze-updates/contrib Translation-ru Игн http://10.0.35.1/debian/ squeeze-updates/main Translation-en Игн http://10.0.35.1/debian/ squeeze-updates/main Translation-ru Игн http://10.0.35.1/debian/ squeeze-updates/non-free Translation-en Игн http://10.0.35.1/debian/ squeeze-updates/non-free Translation-ru ... Игн http://security.debian.org/ squeeze/updates/non-free Translation-en Игн http://security.debian.org/ squeeze/updates/non-free Translation-ru В кэше http://security.debian.org squeeze/updates Release В кэше http://security.debian.org squeeze/updates/main Sources В кэше http://security.debian.org squeeze/updates/contrib Sources В кэше http://security.debian.org squeeze/updates/non-free Sources В кэше http://security.debian.org squeeze/updates/main i386 Packages В кэше http://security.debian.org squeeze/updates/contrib i386 Packages В кэше http://security.debian.org squeeze/updates/non-free i386 Packages Чтение списков пакетов... Готово |
#apt-get update
В кэше http://10.0.35.1 squeeze Release.gpg Игн http://10.0.35.1/debian/ squeeze/main Translation-en В кэше http://10.0.35.1/debian/ squeeze/main Translation-ru В кэше http://10.0.35.1 squeeze-updates Release.gpg Игн http://10.0.35.1/debian/ squeeze-updates/contrib Translation-en Игн http://10.0.35.1/debian/ squeeze-updates/contrib Translation-ru Игн http://10.0.35.1/debian/ squeeze-updates/main Translation-en Игн http://10.0.35.1/debian/ squeeze-updates/main Translation-ru Игн http://10.0.35.1/debian/ squeeze-updates/non-free Translation-en Игн http://10.0.35.1/debian/ squeeze-updates/non-free Translation-ru ... Игн http://security.debian.org/ squeeze/updates/non-free Translation-en Игн http://security.debian.org/ squeeze/updates/non-free Translation-ru В кэше http://security.debian.org squeeze/updates Release В кэше http://security.debian.org squeeze/updates/main Sources В кэше http://security.debian.org squeeze/updates/contrib Sources В кэше http://security.debian.org squeeze/updates/non-free Sources В кэше http://security.debian.org squeeze/updates/main i386 Packages В кэше http://security.debian.org squeeze/updates/contrib i386 Packages В кэше http://security.debian.org squeeze/updates/non-free i386 Packages Чтение списков пакетов... Готово |
#fdisk -l /dev/sda
![]() Disk /dev/sda: 320.1 GB, 320072933376 bytes 254 heads, 63 sectors/track, 39066 cylinders Units = cylinders of 16002 * 512 = 8193024 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x84b0e27d Device Boot Start End Blocks Id System /dev/sda1 1 6103 48827392 83 Linux /dev/sda2 6103 7324 9762019 5 Extended /dev/sda5 6103 6714 4881408 82 Linux swap / Solaris /dev/sda6 6714 7324 4880578+ 83 Linux |
#fdisk -l /dev/sda
Disk /dev/sda: 320.1 GB, 320072933376 bytes 254 heads, 63 sectors/track, 39066 cylinders Units = cylinders of 16002 * 512 = 8193024 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x84b0e27d Device Boot Start End Blocks Id System /dev/sda1 1 6103 48827392 83 Linux /dev/sda2 6103 7324 9762019 5 Extended /dev/sda5 6103 6714 4881408 82 Linux swap / Solaris /dev/sda6 6714 7324 4880578+ 83 Linux |
#file -s /dev/sda1
![]() /dev/sda1: Linux rev 1.0 ext3 filesystem data, UUID=d4561549-44f3-49c5-9cee-46630194cd14 (needs journal recovery) (large files) |
#file -s /dev/sda1
/dev/sda1: Linux rev 1.0 ext3 filesystem data, UUID=d4561549-44f3-49c5-9cee-46630194cd14 (needs journal recovery) (large files) |
#file -s /dev/sda5
![]() /dev/sda5: Linux/i386 swap file (new style), version 1 (4K pages), size 1220351 pages, no label, UUID=bb265d24-4352-4b0a-aab1-6558f3b82697 |
#file -s /dev/sda5
/dev/sda5: Linux/i386 swap file (new style), version 1 (4K pages), size 1220351 pages, no label, UUID=bb265d24-4352-4b0a-aab1-6558f3b82697 |
#cat /etc/fstab
![]() # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # / was on /dev/sda1 during installation UUID=d4561549-44f3-49c5-9cee-46630194cd14 / ext3 errors=remount-ro 0 1 # swap was on /dev/sda5 during installation UUID=bb265d24-4352-4b0a-aab1-6558f3b82697 none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0 |
#cat /etc/fstab
# /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # / was on /dev/sda1 during installation UUID=d4561549-44f3-49c5-9cee-46630194cd14 / ext3 errors=remount-ro 0 1 # swap was on /dev/sda5 during installation UUID=bb265d24-4352-4b0a-aab1-6558f3b82697 none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0 |
#ls -l /dev/disk/by-uuid
![]() итого 0 lrwxrwxrwx 1 root root 10 Фев 20 12:18 bb265d24-4352-4b0a-aab1-6558f3b82697 -> ../../sda5 lrwxrwxrwx 1 root root 10 Фев 20 12:18 d4561549-44f3-49c5-9cee-46630194cd14 -> ../../sda1 |
#ls -l /dev/disk/by-uuid
итого 0 lrwxrwxrwx 1 root root 10 Фев 20 12:18 bb265d24-4352-4b0a-aab1-6558f3b82697 -> ../../sda5 lrwxrwxrwx 1 root root 10 Фев 20 12:18 d4561549-44f3-49c5-9cee-46630194cd14 -> ../../sda1 |
#mkfs.ext3 /dev/sda6
![]() mke2fs 1.41.12 (17-May-2010) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 305216 inodes, 1220144 blocks 61007 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=1249902592 38 block groups 32768 blocks per group, 32768 fragments per group 8032 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 21 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. |
#mkfs.ext3 /dev/sda6
mke2fs 1.41.12 (17-May-2010) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 305216 inodes, 1220144 blocks 61007 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=1249902592 38 block groups 32768 blocks per group, 32768 fragments per group 8032 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 21 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. |
#OS type: Linux
![]() bash: OS: команда не найдена |
#Block size=4096 (log=2)
![]() bash: syntax error near unexpected token `(' |
#Fragment size=4096 (log=2)
![]() bash: syntax error near unexpected token `(' |
#Stride=0 blocks, Stripe width=0 blocks
![]() bash: blocks,: команда не найдена |
#305216 inodes, 1220144 blocks
![]() bash: 305216: команда не найдена |
#61007 blocks (5.00%) reserved for the super user
![]() bash: syntax error near unexpected token `(' |
#First data block=0
![]() bash: First: команда не найдена |
#Maximum filesystem blocks=1249902592
![]() bash: Maximum: команда не найдена |
#38 block groups
![]() bash: 38: команда не найдена |
#32768 blocks per group, 32768 fragments per group
![]() bash: 32768: команда не найдена |
#8032 inodes per group
![]() bash: 8032: команда не найдена |
#Superblock backups stored on blocks:
![]() bash: Superblock: команда не найдена |
#32768, 98304, 163840, 229376, 294912, 819200, 884736
![]() bash: 32768,: команда не найдена |
#Writing inode tables: done
![]() bash: Writing: команда не найдена |
#Creating journal (32768 blocks): done
![]() bash: syntax error near unexpected token `(' |
#Writing superblocks and filesystem accounting information: done
![]() bash: Writing: команда не найдена |
#This filesystem will be automatically checked every 21 mounts or
![]() bash: This: команда не найдена |
#180 days, whichever comes first. Use tune2fs -c or -i to override.
![]() bash: 180: команда не найдена |
#[root@debian4:~]# file -s /dev/sda6
![]() bash: [root@debian4:~]#: команда не найдена |
#/dev/sda6: Linux rev 1.0 ext3 filesystem data, UUID=42e4e9a9-c603-4c1a-bf67-260237faa1ca (large files)
![]() bash: syntax error near unexpected token `(' |
#[root@debian4:~]# mke2fs 1.41.12 (17-May-2010)
![]() bash: syntax error near unexpected token `(' |
#OS type: Linux
![]() bash: OS: команда не найдена |
#Block size=4096 (log=2)
![]() bash: syntax error near unexpected token `(' |
#Fragment size=4096 (log=2)
![]() bash: syntax error near unexpected token `(' |
#Stride=0 blocks, Stripe width=0 blocks
![]() bash: blocks,: команда не найдена |
#305216 inodes, 1220144 blocks
![]() bash: 305216: команда не найдена |
#61007 blocks (5.00%) reserved for the super user
![]() bash: syntax error near unexpected token `(' |
#First data block=0
![]() bash: First: команда не найдена |
#Maximum filesystem blocks=1249902592
![]() bash: Maximum: команда не найдена |
#38 block groups
![]() bash: 38: команда не найдена |
#32768 blocks per group, 32768 fragments per group
![]() bash: 32768: команда не найдена |
#8032 inodes per group
![]() bash: 8032: команда не найдена |
#Superblock backups stored on blocks:
![]() bash: Superblock: команда не найдена |
#32768, 98304, 163840, 229376, 294912, 819200, 884736
![]() bash: 32768,: команда не найдена |
#Writing inode tables: done
![]() bash: Writing: команда не найдена |
#Creating journal (32768 blocks): done
![]() bash: syntax error near unexpected token `(' |
#Writing superblocks and filesystem accounting information: done
![]() bash: Writing: команда не найдена |
#This filesystem will be automatically checked every 21 mounts or
![]() bash: This: команда не найдена |
#180 days, whichever comes first. Use tune2fs -c or -i to override.
![]() bash: 180: команда не найдена |
#[root@debian4:~]# file -s /dev/sda6
![]() bash: [root@debian4:~]#: команда не найдена |
#/dev/sda6: Linux rev 1.0 ext3 filesystem data, UUID=42e4e9a9-c603-4c1a-bf67-260237faa1ca (large files)
![]() bash: syntax error near unexpected token `(' |
#[root@debian4:~]# mke2fs 1.41.12 (17-May-2010)
![]() bash: syntax error near unexpected token `(' |