From: Ilis <ilis.krou@gmail.com> To: "ALT Linux Community general discussions" <community@lists.altlinux.org> Subject: Re: [Comm] mkfs.ext2: invalid blocks count Date: Mon, 1 Dec 2008 00:14:00 +0500 Message-ID: <91dc8dbf0811301114n24de4046mca8ee44c1951070d@mail.gmail.com> (raw) In-Reply-To: <20081130190159.GE7425@atlas.home> 1 декабря 2008 г. 0:01 пользователь Sergey Vlasov <vsu@altlinux.ru> написал: > On Sun, Nov 30, 2008 at 09:56:55PM +0500, Ilis wrote: >> Хочу отформатировать 80Гб диск. >> >> [root@altus ~]# mkfs -v -t ext3 /dev/hda1 >> mke2fs 1.40.5 (27-Jan-2008) >> mkfs.ext2: invalid blocks count - /dev/hda1 >> >> Что ему не нравится? > > man mkfs > > BUGS > All generic options must precede and not be combined with file system- > specific options. [...] > Как-то я на баги не расчитывал совсем... Пробовал разные эксперименты с fdisk cfdisk sfdisk и parted, которые давали несколько разные результаты в части C/H/S. Остановился на sfdisk. > Или пишите "mkfs -t ext3 -v /dev/hda1", или просто вызывайте mke2fs -j > напрямую (заодно посмотрев полный набор опций, доступных в mke2fs). > Методом перебора дошёл и до этого :) [root@altus ~]# mke2fs -j /dev/hda1 mke2fs 1.40.5 (27-Jan-2008) Warning: 256-byte inodes not usable on older systems Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 5005312 inodes, 20010815 blocks 1000540 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=0 611 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 31 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. Тут всё правильно получилось? -- Кругликов Илья
next prev parent reply other threads:[~2008-11-30 19:14 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-11-30 16:56 Ilis 2008-11-30 19:01 ` Sergey Vlasov 2008-11-30 19:14 ` Ilis [this message] 2008-11-30 20:49 ` Sergey Vlasov 2008-12-01 3:58 ` Ilis 2008-12-01 11:31 ` Michael Shigorin 2008-12-01 17:01 ` Andrey Rahmatullin 2008-12-01 17:32 ` Ilis 2008-12-01 17:37 ` Andrey Rahmatullin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=91dc8dbf0811301114n24de4046mca8ee44c1951070d@mail.gmail.com \ --to=ilis.krou@gmail.com \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git